mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
clapper-app: Fix wrong direction of touchpad scrolling
We should not invert axis. Otherwise its opposite compared to the same gesture performed on GtkScale.
This commit is contained in:
@@ -482,8 +482,8 @@ scroll_cb (GtkEventControllerScroll *scroll,
|
||||
switch (gdk_device_get_source (device)) {
|
||||
case GDK_SOURCE_TOUCHPAD:
|
||||
case GDK_SOURCE_TOUCHSCREEN:
|
||||
dx *= -0.4;
|
||||
dy *= -0.4;
|
||||
dx *= 0.4;
|
||||
dy *= 0.4;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Reference in New Issue
Block a user