Cancel tooltip when hiding the node it belongs to
This commit is contained in:
parent
cce2e4b07c
commit
bc7863775c
1 changed files with 0 additions and 4 deletions
|
@ -2482,11 +2482,7 @@ void Viewport::_gui_hid_control(Control *p_control) {
|
|||
if (gui.mouse_over == p_control)
|
||||
gui.mouse_over = NULL;
|
||||
if (gui.tooltip == p_control)
|
||||
gui.tooltip = NULL;
|
||||
if (gui.tooltip == p_control) {
|
||||
gui.tooltip = NULL;
|
||||
_gui_cancel_tooltip();
|
||||
}
|
||||
}
|
||||
|
||||
void Viewport::_gui_remove_control(Control *p_control) {
|
||||
|
|
Loading…
Reference in a new issue