Commit 64a447df authored by David Fuhrmann's avatar David Fuhrmann

macosx: Fix compilation with older SDKs

parent a3005d3d
......@@ -255,7 +255,7 @@
// A mouse scroll wheel has lower sensitivity. We want to scroll at least
// with every event here.
BOOL isMouseScrollWheel = ([theEvent subtype] == NSEventSubtypeMouseEvent);
BOOL isMouseScrollWheel = ([theEvent subtype] == NSMouseEventSubtype);
if (isMouseScrollWheel && f_deltaYAbs < f_yThreshold)
f_deltaY = f_deltaY > 0. ? f_yThreshold : -f_yThreshold;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment