You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename doubleclick to double_click
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user