Fix 9c872192: [OSX] Clear mouse button emulation flag.

This commit is contained in:
Michael Lutz 2021-02-14 12:36:11 +01:00
parent e5c3253642
commit f5555a6d26
1 changed files with 1 additions and 0 deletions

View File

@ -564,6 +564,7 @@ void CocoaDialog(const char *title, const char *message, const char *buttonLabel
- (void)mouseUp:(NSEvent *)event
{
if (self->_emulated_down) {
self->_emulated_down = false;
[ self rightMouseUp:event ];
} else {
_left_button_down = false;