Fixed minor typo, gui_hid -> gui_hide.
This commit is contained in:
parent
2410016638
commit
f6b14238c7
3 changed files with 3 additions and 3 deletions
|
@ -591,7 +591,7 @@ void Control::_notification(int p_notification) {
|
|||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
if (!is_visible_in_tree()) {
|
||||
if (get_viewport() != nullptr) {
|
||||
get_viewport()->_gui_hid_control(this);
|
||||
get_viewport()->_gui_hide_control(this);
|
||||
}
|
||||
|
||||
//remove key focus
|
||||
|
|
|
@ -2422,7 +2422,7 @@ void Viewport::_gui_unfocus_control(Control *p_control) {
|
|||
}
|
||||
}
|
||||
|
||||
void Viewport::_gui_hid_control(Control *p_control) {
|
||||
void Viewport::_gui_hide_control(Control *p_control) {
|
||||
if (gui.mouse_focus == p_control) {
|
||||
_drop_mouse_focus();
|
||||
}
|
||||
|
|
|
@ -387,7 +387,7 @@ private:
|
|||
void _gui_show_tooltip();
|
||||
|
||||
void _gui_remove_control(Control *p_control);
|
||||
void _gui_hid_control(Control *p_control);
|
||||
void _gui_hide_control(Control *p_control);
|
||||
|
||||
void _gui_force_drag(Control *p_base, const Variant &p_data, Control *p_control);
|
||||
void _gui_set_drag_preview(Control *p_base, Control *p_control);
|
||||
|
|
Loading…
Reference in a new issue