Backported from godot 4: Reduce contrast in inspector array element backgrounds.

- fire-forge, reduz
f26414762f
This commit is contained in:
Relintai 2024-03-08 16:14:41 +01:00
parent b757336215
commit fc18954d20

View File

@ -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];