Skip to content

Commit

Permalink
Merge pull request #93609 from passivestar/tileset-prop-popup-bg
Browse files Browse the repository at this point in the history
Fix TileSet property painter popup showing clear color
  • Loading branch information
akien-mga committed Jun 28, 2024
2 parents 5bd25a2 + 44e2991 commit 04d75dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion editor/plugins/tiles/tile_set_atlas_source_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 04d75dc

Please sign in to comment.