1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

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