Рефактор. Кавычки

This commit is contained in:
lepshiy
2026-01-21 09:40:43 +03:00
parent 9a5c0122ad
commit 486a2fb8b5
9 changed files with 43 additions and 43 deletions

View File

@@ -14,13 +14,13 @@ func on_setting_changed():
func apply_colors():
var is_light: bool = ProjectSettings.get_setting("application/config/Цвет темы программы", false)
var style = get_theme_stylebox("read_only").duplicate()
var is_light: bool = ProjectSettings.get_setting('application/config/Цвет темы программы', false)
var style = get_theme_stylebox('read_only').duplicate()
if is_light:
style.bg_color = Color.GRAY
else:
style.bg_color = Color(0.12, 0.12, 0.12)
add_theme_stylebox_override("read_only", style)
add_theme_stylebox_override('read_only', style)
var cb = $CheckButton
if is_light:
cb.material = null