Рефактор. Кавычки
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user