diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-02 03:43:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-02 03:47:49 +0300 |
commit | f48e876459acec1769dd329c1978c5c82530792c (patch) | |
tree | d8dca76290c1a2a70550cb3c3418beaa155c5089 /intern/ghost | |
parent | f051d47cdbcee708bbb7190f2790ac372cab00e2 (diff) |
Cleanup: clang-format
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index b0e11bd4a96..297b73f8b14 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1730,13 +1730,8 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr) NSPoint mousePos = [cocoawindow mouseLocationOutsideOfEventStream]; 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)); + pushEvent(new GHOST_EventTrackpad( + [event timestamp] * 1000, window, GHOST_kTrackpadEventSmartMagnify, x, y, 0, 0)); } break; case NSEventTypeRotate: { |