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

Added double clicking to all buttons

This commit is contained in:
Mikko Mustonen
2018-07-20 19:16:09 +03:00
parent 64595f0f6a
commit 51fa23a52a
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;