Skip to content

Commit

Permalink
Backported from godot 4: Reduce contrast in inspector array element b…
Browse files Browse the repository at this point in the history
…ackgrounds.

- fire-forge, reduz
godotengine/godot@f264147
  • Loading branch information
Relintai committed Mar 8, 2024
1 parent b757336 commit fc18954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/editor_inspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1930,8 +1930,8 @@ void EditorInspectorArray::_notification(int p_what) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
Color color = get_theme_color("dark_color_1", "Editor");
odd_style->set_bg_color(color.lightened(0.15));
even_style->set_bg_color(color.darkened(0.15));
odd_style->set_bg_color(color.darkened(-0.08));
even_style->set_bg_color(color.darkened(0.08));

for (int i = 0; i < (int)array_elements.size(); i++) {
ArrayElement &ae = array_elements[i];
Expand Down

0 comments on commit fc18954

Please sign in to comment.