Bugzilla – Attachment 664 Details for
Bug 1588
Horizontal Scroll is in the wrong direction
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
path to fix this bug
fix_scroll_bug.patch (text/plain), 784 bytes, created by
Johannes König
on 2020-08-21 21:06:22 CEST
(
hide
)
Description:
path to fix this bug
Filename:
MIME Type:
Creator:
Johannes König
Created:
2020-08-21 21:06:22 CEST
Size:
784 bytes
patch
obsolete
>From 52f679c7795c68d228d3d9af1067acf153f28cf6 Mon Sep 17 00:00:00 2001 >From: Johannes Koenig <yooox@gmx.de> >Date: Fri, 21 Aug 2020 20:55:19 +0200 >Subject: [PATCH] bugfix > >--- > pv/views/trace/viewport.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/pv/views/trace/viewport.cpp b/pv/views/trace/viewport.cpp >index 0c73ec49..90621407 100644 >--- a/pv/views/trace/viewport.cpp >+++ b/pv/views/trace/viewport.cpp >@@ -224,7 +224,7 @@ void Viewport::wheelEvent(QWheelEvent *event) > } else if (event->orientation() == Qt::Horizontal) { > // Horizontal scrolling is interpreted as moving left/right > view_.set_scale_offset(view_.scale(), >- event->delta() * view_.scale() + view_.offset()); >+ view_.offset() - event->delta() * view_.scale()); > } > } > >-- >2.25.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1588
: 664