summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFireForge <67974470+fire-forge@users.noreply.github.com>2022-07-22 17:11:03 -0500
committerFireForge <67974470+fire-forge@users.noreply.github.com>2022-07-27 09:50:28 -0500
commitf26414762f33c660083078d3e1d10bbf6e1039a3 (patch)
tree3e56dbcae7ad061abe0d155e0db17139c1ee529c
parented61fb2a8b367d60e5ac0e54e8be5320abfcce80 (diff)
Reduce contrast in inspector array element backgrounds
Co-authored-by: reduz <reduzio@gmail.com>
-rw-r--r--editor/editor_inspector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp
index b610e09545..19cc66fa41 100644
--- a/editor/editor_inspector.cpp
+++ b/editor/editor_inspector.cpp
@@ -2026,8 +2026,8 @@ void EditorInspectorArray::_notification(int p_what) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
Color color = get_theme_color(SNAME("dark_color_1"), SNAME("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];