summaryrefslogtreecommitdiff
path: root/platform/osx
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-04-13 04:25:44 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-05-04 04:38:08 -0400
commit0de9a7d8030a35415e918e9580f5926db4856ea2 (patch)
treec4308b7250141d48806e7e501c8640fe06034db9 /platform/osx
parent3fea1707723a211c223f73d71b1243bf2f558d09 (diff)
Rename `doubleclick` to `double_click`
Diffstat (limited to 'platform/osx')
-rw-r--r--platform/osx/display_server_osx.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/display_server_osx.mm b/platform/osx/display_server_osx.mm
index 61bb26c2a8..473ae95036 100644
--- a/platform/osx/display_server_osx.mm
+++ b/platform/osx/display_server_osx.mm
@@ -830,7 +830,7 @@ static void _mouseDownEvent(DisplayServer::WindowID window_id, NSEvent *event, i
mb->set_global_position(pos);
mb->set_button_mask(DS_OSX->last_button_state);
if (index == MOUSE_BUTTON_LEFT && pressed) {
- mb->set_doubleclick([event clickCount] == 2);
+ mb->set_double_click([event clickCount] == 2);
}
Input::get_singleton()->accumulate_input_event(mb);