From 40acd04eb9ce35052068283515d12bed2211b09b Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Sat, 6 Jul 2024 12:33:08 +0200 Subject: [PATCH] Fix tooltip popup too small --- editor/task_palette.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/task_palette.cpp b/editor/task_palette.cpp index f49bb93..f094e0a 100644 --- a/editor/task_palette.cpp +++ b/editor/task_palette.cpp @@ -24,8 +24,8 @@ #include "editor/editor_help.h" #include "editor/editor_node.h" #include "editor/editor_paths.h" -#include "editor/themes/editor_scale.h" #include "editor/plugins/script_editor_plugin.h" +#include "editor/themes/editor_scale.h" #include "scene/gui/check_box.h" #endif // LIMBO_MODULE @@ -70,8 +70,8 @@ Control *TaskButton::_do_make_tooltip(const String &p_text) const { } help_bit->set_custom_text(String(), String(), help_text); - - return help_bit; + EditorHelpBitTooltip::show_tooltip(help_bit, const_cast(this)); + return memnew(Control); // Make the standard tooltip invisible. #endif // LIMBOAI_MODULE #ifdef LIMBOAI_GDEXTENSION