osx release right button event fixed

RIGHT_MOUSE_BUTTON was not removed from the button mask (instead it was added...)
fixes #9079
This commit is contained in:
toger5 2017-06-06 19:39:32 -07:00
parent 9e5efa4abd
commit 328d0e2b4e

View file

@ -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();