summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-08-26 16:43:24 +0300
committerYuri Sizov <yuris@humnom.net>2022-08-26 17:22:13 +0300
commit207bdc2b9f0d6a4a00189a9f8a20bdb6a630665b (patch)
treeba7cfb971088ab399d72658b85929b81e91a7430 /scene/main
parentff612b6916876f890113d0241b39273d400314b6 (diff)
Remove Inspector tooltip hack that never actually worked
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/viewport.cpp10
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();