1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #49719 from LightningAA/rename-node-is-ancestor-of

Rename `is_a_parent_of()` to `is_ancestor_of()`
This commit is contained in:
Rémi Verschelde
2021-06-29 12:07:25 +02:00
committed by GitHub
17 changed files with 37 additions and 37 deletions

View File

@@ -122,7 +122,7 @@ void FindReplaceBar::_unhandled_input(const Ref<InputEvent> &p_event) {
}
Control *focus_owner = get_focus_owner();
if (text_editor->has_focus() || (focus_owner && vbc_lineedit->is_a_parent_of(focus_owner))) {
if (text_editor->has_focus() || (focus_owner && vbc_lineedit->is_ancestor_of(focus_owner))) {
bool accepted = true;
switch (k->get_keycode()) {