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