You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
Add EditorStringNames singleton
This commit is contained in:
@@ -654,7 +654,9 @@ void ColorPicker::_text_type_toggled() {
|
||||
text_is_constructor = !text_is_constructor;
|
||||
if (text_is_constructor) {
|
||||
text_type->set_text("");
|
||||
text_type->set_icon(get_theme_icon(SNAME("Script"), SNAME("EditorIcons")));
|
||||
#ifdef TOOLS_ENABLED
|
||||
text_type->set_icon(get_editor_theme_icon(SNAME("Script")));
|
||||
#endif
|
||||
|
||||
c_text->set_editable(false);
|
||||
c_text->set_tooltip_text(RTR("Copy this constructor in a script."));
|
||||
|
||||
Reference in New Issue
Block a user