summaryrefslogtreecommitdiffstats
path: root/editor/plugins/tiles
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-14 14:41:39 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-30 22:57:54 +0200
commitcade5b88d9c4b01c57115a355743460047c0ca50 (patch)
tree51c6ee986ca6cd9fa0c456e2f3013b17263728e6 /editor/plugins/tiles
parent505da68b261be6ed37b42422c61358ff9d208748 (diff)
downloadredot-engine-cade5b88d9c4b01c57115a355743460047c0ca50.tar.gz
Use `CoreStringNames::normal` in more places
Diffstat (limited to 'editor/plugins/tiles')
-rw-r--r--editor/plugins/tiles/tile_set_atlas_source_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tiles/tile_set_atlas_source_editor.cpp b/editor/plugins/tiles/tile_set_atlas_source_editor.cpp
index 03070bc6b5..600e01bf2c 100644
--- a/editor/plugins/tiles/tile_set_atlas_source_editor.cpp
+++ b/editor/plugins/tiles/tile_set_atlas_source_editor.cpp
@@ -997,7 +997,7 @@ void TileSetAtlasSourceEditor::_update_atlas_view() {
Button *button = memnew(Button);
button->set_flat(true);
button->set_icon(get_editor_theme_icon(SNAME("Add")));
- button->add_theme_style_override("normal", memnew(StyleBoxEmpty));
+ button->add_theme_style_override(CoreStringName(normal), memnew(StyleBoxEmpty));
button->add_theme_style_override("hover", memnew(StyleBoxEmpty));
button->add_theme_style_override("focus", memnew(StyleBoxEmpty));
button->add_theme_style_override(SceneStringName(pressed), memnew(StyleBoxEmpty));