forked from bartvdbraak/blender
Fix T47153: scroll wheel zoom fails with mouses that support smooth scroll on OS X.
This commit is contained in:
parent
fe0ca82b23
commit
6451c072ce
@ -1399,7 +1399,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr)
|
||||
if ([event respondsToSelector:@selector(phase)])
|
||||
phase = [event phase];
|
||||
if ([event respondsToSelector:@selector(hasPreciseScrollingDeltas)])
|
||||
hasMultiTouch = [event hasPreciseScrollingDeltas];
|
||||
hasMultiTouch = [event hasPreciseScrollingDeltas] && [event subtype] != NSMouseEventSubtype;
|
||||
|
||||
/* when pressing a key while momentum scrolling continues after
|
||||
* lifting fingers off the trackpad, the action can unexpectedly
|
||||
|
Loading…
Reference in New Issue
Block a user