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:
Rafał Dzięgiel
2024-04-07 20:04:26 +02:00
parent 606b9c5170
commit 6e17996691

View File

@@ -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;