mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Reduce contrast in inspector array element backgrounds
Co-authored-by: reduz <reduzio@gmail.com>
This commit is contained in:
parent
ed61fb2a8b
commit
f26414762f
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user