diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-05-14 15:57:29 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-06-18 17:24:27 +0200 |
commit | d519715d94dc1062addcfc8efad47abb494fa4c5 (patch) | |
tree | f0a07687df7c9ce6f6d31874a44a4e0dedc836f9 /editor/editor_autoload_settings.cpp | |
parent | b435551682f93cf49f606d260b28e13ff5526beb (diff) | |
download | redot-engine-d519715d94dc1062addcfc8efad47abb494fa4c5.tar.gz |
[Scene] Add `SceneStringNames::font(_size/_color)`
Diffstat (limited to 'editor/editor_autoload_settings.cpp')
-rw-r--r-- | editor/editor_autoload_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_autoload_settings.cpp b/editor/editor_autoload_settings.cpp index 13f2fd047c..746afe0737 100644 --- a/editor/editor_autoload_settings.cpp +++ b/editor/editor_autoload_settings.cpp @@ -884,7 +884,7 @@ EditorAutoloadSettings::EditorAutoloadSettings() { error_message = memnew(Label); error_message->hide(); error_message->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_RIGHT); - error_message->add_theme_color_override("font_color", EditorNode::get_singleton()->get_editor_theme()->get_color(SNAME("error_color"), EditorStringName(Editor))); + error_message->add_theme_color_override(SceneStringName(font_color), EditorNode::get_singleton()->get_editor_theme()->get_color(SNAME("error_color"), EditorStringName(Editor))); add_child(error_message); Label *l = memnew(Label); |