Sometimes we click too fast in the router to just handle it in IDLE.
This commit is contained in:
parent
461ad03d27
commit
e1c2869d1c
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ namespace gui {
|
|||
set_event(gui::Event::TICK);
|
||||
state(State::MOUSE_ACTIVE);
|
||||
break;
|
||||
case MOUSE_UP:
|
||||
set_event(gui::Event::MOUSE_CLICK);
|
||||
state(State::IDLE);
|
||||
break;
|
||||
case MOUSE_MOVE:
|
||||
set_event(gui::Event::MOUSE_MOVE);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue