Fix tooltip popup too small

This commit is contained in:
Serhii Snitsaruk 2024-07-06 12:33:08 +02:00
parent f1af947060
commit 40acd04eb9
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 3 additions and 3 deletions

View File

@ -24,8 +24,8 @@
#include "editor/editor_help.h" #include "editor/editor_help.h"
#include "editor/editor_node.h" #include "editor/editor_node.h"
#include "editor/editor_paths.h" #include "editor/editor_paths.h"
#include "editor/themes/editor_scale.h"
#include "editor/plugins/script_editor_plugin.h" #include "editor/plugins/script_editor_plugin.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/check_box.h" #include "scene/gui/check_box.h"
#endif // LIMBO_MODULE #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); help_bit->set_custom_text(String(), String(), help_text);
EditorHelpBitTooltip::show_tooltip(help_bit, const_cast<TaskButton *>(this));
return help_bit; return memnew(Control); // Make the standard tooltip invisible.
#endif // LIMBOAI_MODULE #endif // LIMBOAI_MODULE
#ifdef LIMBOAI_GDEXTENSION #ifdef LIMBOAI_GDEXTENSION