You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Change print warnings to config ones for popups that need transparency
This commit is contained in:
@@ -204,6 +204,14 @@ void MenuButton::set_disable_shortcuts(bool p_disabled) {
|
||||
disable_shortcuts = p_disabled;
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
PackedStringArray MenuButton::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = Button::get_configuration_warnings();
|
||||
warnings.append_array(popup->get_configuration_warnings());
|
||||
return warnings;
|
||||
}
|
||||
#endif
|
||||
|
||||
MenuButton::MenuButton(const String &p_text) :
|
||||
Button(p_text) {
|
||||
set_flat(true);
|
||||
|
||||
Reference in New Issue
Block a user