mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-03 17:39:36 +01:00
Backported from godot 4: Reduce contrast in inspector array element backgrounds.
- fire-forge, reduz
f26414762f
This commit is contained in:
parent
b757336215
commit
fc18954d20
@ -1930,8 +1930,8 @@ void EditorInspectorArray::_notification(int p_what) {
|
|||||||
case NOTIFICATION_ENTER_TREE:
|
case NOTIFICATION_ENTER_TREE:
|
||||||
case NOTIFICATION_THEME_CHANGED: {
|
case NOTIFICATION_THEME_CHANGED: {
|
||||||
Color color = get_theme_color("dark_color_1", "Editor");
|
Color color = get_theme_color("dark_color_1", "Editor");
|
||||||
odd_style->set_bg_color(color.lightened(0.15));
|
odd_style->set_bg_color(color.darkened(-0.08));
|
||||||
even_style->set_bg_color(color.darkened(0.15));
|
even_style->set_bg_color(color.darkened(0.08));
|
||||||
|
|
||||||
for (int i = 0; i < (int)array_elements.size(); i++) {
|
for (int i = 0; i < (int)array_elements.size(); i++) {
|
||||||
ArrayElement &ae = array_elements[i];
|
ArrayElement &ae = array_elements[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user