Доработка. WIP Добавление элементов для ЭМС-ТГ
This commit is contained in:
@@ -25,15 +25,6 @@ func _init() -> void:
|
||||
var style_dark: = style_light.duplicate(true)
|
||||
style_dark.bg_color = Color(0.12, 0.12, 0.12)
|
||||
styles[0] = style_dark
|
||||
ProjectSettings.connect('settings_changed', apply_colors)
|
||||
apply_colors()
|
||||
|
||||
|
||||
func apply_colors():
|
||||
if ProjectSettings.get_setting('application/config/%s' % 'Цвет темы программы', false):
|
||||
add_theme_stylebox_override('normal', styles[1])
|
||||
else:
|
||||
add_theme_stylebox_override('normal', styles[0])
|
||||
"
|
||||
|
||||
[node name="Lable" type="Label"]
|
||||
|
||||
Reference in New Issue
Block a user