From fc18954d20464bfedee2e92c579efb1b1742bf52 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 8 Mar 2024 16:14:41 +0100 Subject: [PATCH] Backported from godot 4: Reduce contrast in inspector array element backgrounds. - fire-forge, reduz https://github.com/godotengine/godot/commit/f26414762f33c660083078d3e1d10bbf6e1039a3 --- editor/editor_inspector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index fddc20b8d..63b8d351b 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -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];