Merge pull request #20385 from moiman100/unify-double-clicking

Added double clicking to all buttons on Linux and Javascript
This commit is contained in:
Rémi Verschelde 2018-12-14 23:47:03 +01:00 committed by GitHub
commit 5f32fc8208
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 6 deletions

View file

@ -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;