mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +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) {
|
if (flags & MOUSE_FLAG_MOVE) {
|
||||||
ev.setType(Event::MouseMove);
|
ev.setType(Event::MouseMove);
|
||||||
queue_event(ev);
|
queue_event(ev);
|
||||||
|
|
||||||
|
// Reset double click status
|
||||||
|
double_click_level = DOUBLE_CLICK_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// buttons
|
// buttons
|
||||||
|
Loading…
x
Reference in New Issue
Block a user