mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Rename is_a_parent_of() to is_ancestor_of()
This commit is contained in:
parent
8ffb631cdb
commit
899e5f8685
17 changed files with 37 additions and 37 deletions
|
|
@ -117,7 +117,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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue