Merge pull request #20385 from moiman100/unify-double-clicking
Added double clicking to all buttons on Linux and Javascript
This commit is contained in:
commit
5f32fc8208
4 changed files with 49 additions and 6 deletions
|
|
@ -52,6 +52,10 @@ class OS_JavaScript : public OS_Unix {
|
|||
CursorShape cursor_shape;
|
||||
Point2 touches[32];
|
||||
|
||||
Point2i last_click_pos;
|
||||
uint64_t last_click_ms;
|
||||
int last_click_button_index;
|
||||
|
||||
MainLoop *main_loop;
|
||||
AudioDriverJavaScript audio_driver_javascript;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue