Доработка. Добавлена помеха ЕПРЛС. Выполнение рекомендуемого режима помехи

This commit is contained in:
sasha80
2025-10-05 18:33:07 +03:00
parent b634a607ac
commit 22620ddc95
7 changed files with 43 additions and 25 deletions

View File

@@ -79,6 +79,7 @@ axis_stretch_vertical = 2
layout_mode = 2
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
theme_override_font_sizes/font_size = 15
theme_override_styles/focus = SubResource("4")
theme_override_styles/disabled = SubResource("5")
theme_override_styles/hover = SubResource("2")

View File

@@ -59,6 +59,11 @@ var _pressed: = false
$button.set_toggle_mode(val)
@export var font_size: int = 15:
set(val):
$button.add_theme_font_size_override('theme_override_font_sizes/font_size', val)
func set_pressed(val: bool):
pressed = val