mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Merge branch 'wip/chergert/macos-decelerate' into 'master'
macos: fix typo when creating scroll events Closes #3418 See merge request GNOME/gtk!2916
This commit is contained in:
commit
f1ff8f9aad
@ -610,7 +610,7 @@ fill_scroll_event (GdkMacosDisplay *self,
|
||||
sx = [nsevent scrollingDeltaX];
|
||||
sy = [nsevent scrollingDeltaY];
|
||||
|
||||
if (sx != 0.0 || dx != 0.0)
|
||||
if (sx != 0.0 || sy != 0.0)
|
||||
ret = gdk_scroll_event_new (GDK_SURFACE (surface),
|
||||
pointer,
|
||||
NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user