Merge pull request #9081 from toger5/right_mb_button_release_fix

osx release right button event fixed
This commit is contained in:
Rémi Verschelde 2017-06-07 07:56:01 +02:00 committed by GitHub
commit 9e9bc5fa02

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