diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-04-13 04:25:44 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-05-04 04:38:08 -0400 |
commit | 0de9a7d8030a35415e918e9580f5926db4856ea2 (patch) | |
tree | c4308b7250141d48806e7e501c8640fe06034db9 /platform/javascript | |
parent | 3fea1707723a211c223f73d71b1243bf2f558d09 (diff) |
Rename `doubleclick` to `double_click`
Diffstat (limited to 'platform/javascript')
-rw-r--r-- | platform/javascript/display_server_javascript.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/javascript/display_server_javascript.cpp b/platform/javascript/display_server_javascript.cpp index 0031650360..234e42376d 100644 --- a/platform/javascript/display_server_javascript.cpp +++ b/platform/javascript/display_server_javascript.cpp @@ -215,14 +215,14 @@ EM_BOOL DisplayServerJavaScript::mouse_button_callback(int p_event_type, const E display->last_click_ms = 0; display->last_click_pos = Point2(-100, -100); display->last_click_button_index = -1; - ev->set_doubleclick(true); + ev->set_double_click(true); } } else { display->last_click_button_index = ev->get_button_index(); } - if (!ev->is_doubleclick()) { + if (!ev->is_double_click()) { display->last_click_ms += diff; display->last_click_pos = ev->get_position(); } |