Cleanup: clang-format
This commit is contained in:
@@ -1745,14 +1745,8 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr)
|
||||
NSPoint mousePos = [event locationInWindow];
|
||||
GHOST_TInt32 x, y;
|
||||
window->clientToScreenIntern(mousePos.x, mousePos.y, x, y);
|
||||
pushEvent(new GHOST_EventTrackpad([event timestamp] * 1000,
|
||||
window,
|
||||
GHOST_kTrackpadEventSmartMagnify,
|
||||
x,
|
||||
y,
|
||||
0,
|
||||
0,
|
||||
false));
|
||||
pushEvent(new GHOST_EventTrackpad(
|
||||
[event timestamp] * 1000, window, GHOST_kTrackpadEventSmartMagnify, x, y, 0, 0, false));
|
||||
} break;
|
||||
|
||||
case NSEventTypeRotate: {
|
||||
|
||||
Reference in New Issue
Block a user