mirror of
https://github.com/godotengine/godot.git
synced 2025-10-21 00:43:46 +00:00
Rename doubleclick
to double_click
This commit is contained in:
parent
3fea170772
commit
0de9a7d803
23 changed files with 57 additions and 57 deletions
|
@ -1875,7 +1875,7 @@ void VisualScriptEditor::_members_gui_input(const Ref<InputEvent> &p_event) {
|
|||
}
|
||||
|
||||
Ref<InputEventMouseButton> btn = p_event;
|
||||
if (btn.is_valid() && btn->is_doubleclick()) {
|
||||
if (btn.is_valid() && btn->is_double_click()) {
|
||||
TreeItem *ti = members->get_selected();
|
||||
if (ti && ti->get_parent() == members->get_root()->get_children()) { // to check if it's a function
|
||||
_center_on_node(script->get_function_node_id(ti->get_metadata(0)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue