Merge pull request #55447 from KoBeWi/show_tooltips_only_when_node_is_not_paused_and_when_it's_paused_don't_show_three_dot_x_edition

This commit is contained in:
Rémi Verschelde 2021-11-29 17:01:41 +01:00 committed by GitHub
commit 964c6ec4d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2232,7 +2232,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>();