diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-12-14 23:47:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-14 23:47:03 +0100 |
commit | 5f32fc82087404ac2c803770dc9d1e3711fc14fd (patch) | |
tree | 8648290c5456f219de0b2315badc52e017a3fa08 /platform/javascript/os_javascript.h | |
parent | 57c3f6a94ba547cfb4c3bcfd7a3e2e784239fd4e (diff) | |
parent | 51fa23a52a71fcbae5743587b35b179dcc226b92 (diff) | |
download | redot-engine-5f32fc82087404ac2c803770dc9d1e3711fc14fd.tar.gz |
Merge pull request #20385 from moiman100/unify-double-clicking
Added double clicking to all buttons on Linux and Javascript
Diffstat (limited to 'platform/javascript/os_javascript.h')
-rw-r--r-- | platform/javascript/os_javascript.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h index 79dac5940f..45c1a9d32d 100644 --- a/platform/javascript/os_javascript.h +++ b/platform/javascript/os_javascript.h @@ -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; |