forked from AuroraMiddleware/gtk
macos: remove workaround for scroll delta
This gets handled differently in gtk/ and so we shouldn't translate it here.
This commit is contained in:
parent
58f9413464
commit
3f519e4d9b
@ -604,15 +604,8 @@ fill_scroll_event (GdkMacosDisplay *self,
|
||||
double sx;
|
||||
double sy;
|
||||
|
||||
/*
|
||||
* TODO: We probably need another event type for the
|
||||
* high precision scroll events since sx and dy
|
||||
* are in a unit we don't quite support. For now,
|
||||
* to slow it down multiply by .1.
|
||||
*/
|
||||
|
||||
sx = [nsevent scrollingDeltaX] * .1;
|
||||
sy = [nsevent scrollingDeltaY] * .1;
|
||||
sx = [nsevent scrollingDeltaX];
|
||||
sy = [nsevent scrollingDeltaY];
|
||||
|
||||
if (sx != 0.0 || dx != 0.0)
|
||||
ret = gdk_scroll_event_new (GDK_SURFACE (surface),
|
||||
|
Loading…
Reference in New Issue
Block a user