diff options
author | toger5 <toger5@hotmail.de> | 2017-06-06 19:39:32 -0700 |
---|---|---|
committer | toger5 <toger5@hotmail.de> | 2017-06-06 19:40:06 -0700 |
commit | 328d0e2b4e33265841c5a0e9bbd0157897b63891 (patch) | |
tree | 40622e70327bf1cedd4c89b089ba946bac9ade95 /platform/osx | |
parent | 9e5efa4abd2a9cfdcf637cc393222948f8f6cc3f (diff) |
osx release right button event fixed
RIGHT_MOUSE_BUTTON was not removed from the button mask (instead it was added...)
fixes #9079
Diffstat (limited to 'platform/osx')
-rw-r--r-- | platform/osx/os_osx.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index cb37f18090..54b1802250 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -365,7 +365,7 @@ static int button_mask = 0; - (void)rightMouseUp:(NSEvent *)event { - button_mask |= BUTTON_MASK_RIGHT; + button_mask &= ~BUTTON_MASK_RIGHT; Ref<InputEventMouseButton> mb; mb.instance(); |