Fix contrast in settings popups

pull/24/head 2.0.3
passivestar 2025-01-12 17:37:08 +07:00
parent d7abde38e6
commit d395d79c87
1 changed files with 3 additions and 0 deletions

@ -584,6 +584,9 @@ func _init() -> void:
sb.set_content_margin_all(int(popup_margin * scale))
set_stylebox('panel', 'PopupDialog', sb)
set_stylebox('panel', 'AcceptDialog', sb)
sb = sb.duplicate()
sb.bg_color = _get_base_color(-1)
set_stylebox('panel', 'EditorSettingsDialog', sb)
set_stylebox('panel', 'ProjectSettingsEditor', sb)
set_stylebox('panel', 'EditorAbout', sb)