From 328d0e2b4e33265841c5a0e9bbd0157897b63891 Mon Sep 17 00:00:00 2001 From: toger5 Date: Tue, 6 Jun 2017 19:39:32 -0700 Subject: [PATCH] osx release right button event fixed RIGHT_MOUSE_BUTTON was not removed from the button mask (instead it was added...) fixes #9079 --- platform/osx/os_osx.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index cb37f18090e..54b1802250e 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 mb; mb.instance();