Fix T52984. Trackpad rotation to natural direction
This commit is contained in:
parent
03a582ceeb
commit
1effab7809
Notes:
blender-bot
2023-02-14 06:30:06 +01:00
|
@ -1470,7 +1470,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr)
|
|||
GHOST_TInt32 x, y;
|
||||
window->clientToScreenIntern(mousePos.x, mousePos.y, x, y);
|
||||
pushEvent(new GHOST_EventTrackpad([event timestamp] * 1000, window, GHOST_kTrackpadEventRotate, x, y,
|
||||
[event rotation] * 5.0, 0));
|
||||
[event rotation] * -5.0, 0));
|
||||
}
|
||||
default:
|
||||
return GHOST_kFailure;
|
||||
|
|
Loading…
Reference in New Issue