Rename doubleclick to double_click

This commit is contained in:
Aaron Franke 2021-04-13 04:25:44 -04:00
parent 3fea170772
commit 0de9a7d803
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
23 changed files with 57 additions and 57 deletions

View file

@ -4855,7 +4855,7 @@ void EditorNode::_scene_tab_input(const Ref<InputEvent> &p_input) {
_scene_tab_closed(scene_tabs->get_hovered_tab());
}
} else {
if ((mb->get_button_index() == MOUSE_BUTTON_LEFT && mb->is_doubleclick()) || (mb->get_button_index() == MOUSE_BUTTON_MIDDLE && mb->is_pressed())) {
if ((mb->get_button_index() == MOUSE_BUTTON_LEFT && mb->is_double_click()) || (mb->get_button_index() == MOUSE_BUTTON_MIDDLE && mb->is_pressed())) {
_menu_option_confirm(FILE_NEW_SCENE, true);
}
}