Don't show tooltips for paused controls
(cherry picked from commit fe28e823c5
)
This commit is contained in:
parent
552feba40b
commit
b646852765
|
@ -2231,7 +2231,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (can_tooltip && !is_tooltip_shown) {
|
if (can_tooltip && !is_tooltip_shown && over->can_process()) {
|
||||||
if (gui.tooltip_timer.is_valid()) {
|
if (gui.tooltip_timer.is_valid()) {
|
||||||
gui.tooltip_timer->release_connections();
|
gui.tooltip_timer->release_connections();
|
||||||
gui.tooltip_timer = Ref<SceneTreeTimer>();
|
gui.tooltip_timer = Ref<SceneTreeTimer>();
|
||||||
|
|
Loading…
Reference in New Issue