mirror of
https://github.com/passivestar/godot-minimal-theme.git
synced 2025-01-21 23:59:06 -05:00
Fix contrast in settings popups
This commit is contained in:
parent
d7abde38e6
commit
d395d79c87
@ -584,6 +584,9 @@ func _init() -> void:
|
|||||||
sb.set_content_margin_all(int(popup_margin * scale))
|
sb.set_content_margin_all(int(popup_margin * scale))
|
||||||
set_stylebox('panel', 'PopupDialog', sb)
|
set_stylebox('panel', 'PopupDialog', sb)
|
||||||
set_stylebox('panel', 'AcceptDialog', sb)
|
set_stylebox('panel', 'AcceptDialog', sb)
|
||||||
|
|
||||||
|
sb = sb.duplicate()
|
||||||
|
sb.bg_color = _get_base_color(-1)
|
||||||
set_stylebox('panel', 'EditorSettingsDialog', sb)
|
set_stylebox('panel', 'EditorSettingsDialog', sb)
|
||||||
set_stylebox('panel', 'ProjectSettingsEditor', sb)
|
set_stylebox('panel', 'ProjectSettingsEditor', sb)
|
||||||
set_stylebox('panel', 'EditorAbout', sb)
|
set_stylebox('panel', 'EditorAbout', sb)
|
||||||
|
Loading…
Reference in New Issue
Block a user