diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-28 11:35:02 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-28 11:35:02 +0200 |
| commit | 04d75dcfc2c319b907daaa97cc1f9dc8525fae76 (patch) | |
| tree | 56a1c83854acdca97ded26a3d8603441ecf3e039 | |
| parent | 5bd25a2372f20525258721014cd4098bc823af71 (diff) | |
| parent | 44e29913650a8a88def09f9912fe92d2563b4ab6 (diff) | |
| download | redot-engine-04d75dcfc2c319b907daaa97cc1f9dc8525fae76.tar.gz | |
Merge pull request #93609 from passivestar/tileset-prop-popup-bg
Fix TileSet property painter popup showing clear color
| -rw-r--r-- | editor/plugins/tiles/tile_set_atlas_source_editor.cpp | 4 |
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: { |
