You've already forked godot
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user