mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 12:32:52 +00:00
Fix double-click in Allegro back-end when she_mouse_callback() is used
This commit is contained in:
parent
b62c1e195f
commit
f2ba51f1be
@ -211,6 +211,9 @@ void she_mouse_callback(int flags)
|
||||
if (flags & MOUSE_FLAG_MOVE) {
|
||||
ev.setType(Event::MouseMove);
|
||||
queue_event(ev);
|
||||
|
||||
// Reset double click status
|
||||
double_click_level = DOUBLE_CLICK_NONE;
|
||||
}
|
||||
|
||||
// buttons
|
||||
|
Loading…
x
Reference in New Issue
Block a user