Don't show tooltips for paused controls

(cherry picked from commit fe28e823c5)
This commit is contained in:
kobewi 2021-11-29 16:44:32 +01:00 committed by Rémi Verschelde
parent 552feba40b
commit b646852765
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {
gui.tooltip_timer->release_connections();
gui.tooltip_timer = Ref<SceneTreeTimer>();