summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpassivestar <60579014+passivestar@users.noreply.github.com>2024-06-26 00:36:08 +0400
committerpassivestar <60579014+passivestar@users.noreply.github.com>2024-06-26 01:37:44 +0400
commit44e29913650a8a88def09f9912fe92d2563b4ab6 (patch)
tree224d0f681ca5e7af8f3ff8d551fed512cf320e4d
parent6b281c0c07b07f2142b1fc8a6b3158091a9b124c (diff)
downloadredot-engine-44e29913650a8a88def09f9912fe92d2563b4ab6.tar.gz
Fix TileSet property painter popup showing clear color
-rw-r--r--editor/plugins/tiles/tile_set_atlas_source_editor.cpp4
1 files changed, 3 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 94e68ccc7c..0d26212cdb 100644
--- a/editor/plugins/tiles/tile_set_atlas_source_editor.cpp
+++ b/editor/plugins/tiles/tile_set_atlas_source_editor.cpp
@@ -651,7 +651,7 @@ void TileSetAtlasSourceEditor::_update_tile_data_editors() {
tile_data_editors_tree->add_theme_constant_override("v_separation", 1);
tile_data_editors_tree->add_theme_constant_override("h_separation", 3);
- Color group_color = get_theme_color(SNAME("prop_category"), EditorStringName(Editor));
+ Color group_color = get_theme_color(SNAME("separator_color"), EditorStringName(Editor));
// List of editors.
// --- Rendering ---
@@ -2451,6 +2451,8 @@ void TileSetAtlasSourceEditor::_notification(int p_what) {
resize_handle = get_editor_theme_icon(SNAME("EditorHandle"));
resize_handle_disabled = get_editor_theme_icon(SNAME("EditorHandleDisabled"));
+
+ tile_data_editors_tree->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SceneStringName(panel), "PopupPanel"));
} break;
case NOTIFICATION_INTERNAL_PROCESS: {