diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-06-07 07:56:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-07 07:56:01 +0200 |
commit | 9e9bc5fa02ac6eec71f2069952cb259f45274818 (patch) | |
tree | 58ec7306b87054d5ec4c082e16075a3b73a43153 /platform/osx | |
parent | 71ada5bc2c506baaed85cb085f6863e893190711 (diff) | |
parent | 328d0e2b4e33265841c5a0e9bbd0157897b63891 (diff) |
Merge pull request #9081 from toger5/right_mb_button_release_fix
osx release right button event fixed
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(); |