diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-02-14 12:36:11 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-14 12:58:45 +0100 |
commit | f5555a6d262a77f3754934447d7440df381f37d9 (patch) | |
tree | 52062ad65761cfb36411cc40c9ca97f025f4c646 /src/video/cocoa | |
parent | e5c325364285b1e6e93afa2a0a79b1ec437f238e (diff) | |
download | openttd-f5555a6d262a77f3754934447d7440df381f37d9.tar.xz |
Fix 9c872192: [OSX] Clear mouse button emulation flag.
Diffstat (limited to 'src/video/cocoa')
-rw-r--r-- | src/video/cocoa/cocoa_wnd.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/cocoa/cocoa_wnd.mm b/src/video/cocoa/cocoa_wnd.mm index afe2cece6..30fa3969b 100644 --- a/src/video/cocoa/cocoa_wnd.mm +++ b/src/video/cocoa/cocoa_wnd.mm @@ -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; |