diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-08-26 23:04:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 23:04:50 +0200 |
commit | bd219de7fe25da5a56a661332a0a59c287b94742 (patch) | |
tree | 95581527a90e70ec275267c9c70407fff6e02d65 /scene | |
parent | f9f24469720a9422a1b08e387c81378d734ace82 (diff) | |
parent | 207bdc2b9f0d6a4a00189a9f8a20bdb6a630665b (diff) |
Merge pull request #64928 from YuriSizov/editor-tooltip-or-not-tooltip
Remove Inspector tooltip hack that never actually worked
Diffstat (limited to 'scene')
-rw-r--r-- | scene/main/viewport.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index cc8bced780..a5a4e29186 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1709,15 +1709,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) { is_tooltip_shown = true; } } else { - Variant t = gui.tooltip_popup->call("get_tooltip_text"); - - if (t.get_type() == Variant::STRING) { - if (tooltip == String(t)) { - is_tooltip_shown = true; - } - } else { - is_tooltip_shown = true; // Nothing to compare against, likely using custom control, so if it changes there is nothing we can do. - } + is_tooltip_shown = true; // Nothing to compare against, likely using custom control, so if it changes there is nothing we can do. } } else { _gui_cancel_tooltip(); |