From 81ae47a3d9e00568de0481c637f482acc2c2d36c Mon Sep 17 00:00:00 2001 From: lepshiy Date: Mon, 19 Jan 2026 16:17:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0,=20=D1=81=D0=B2=D0=B5=D1=82=D0=BB=D0=B0=D1=8F=20?= =?UTF-8?q?=D1=82=D0=B5=D0=BC=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/tabs-switch/tab-switch.gd | 2 +- scenes/настройки/настройки.gd | 1 - scenes/работа/работа.gd | 6 ------ 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/scenes/tabs-switch/tab-switch.gd b/scenes/tabs-switch/tab-switch.gd index c25539bd..b3f85221 100644 --- a/scenes/tabs-switch/tab-switch.gd +++ b/scenes/tabs-switch/tab-switch.gd @@ -30,7 +30,7 @@ func apply_colors(): var is_light: bool = ProjectSettings.get_setting("application/config/Цвет темы программы", false) var style = StyleBoxFlat.new() if is_light: - style.bg_color = Color.GRAY + style.bg_color = Color.DARK_GRAY add_theme_stylebox_override("tabbar_background", style) add_theme_stylebox_override("panel", style) else: diff --git a/scenes/настройки/настройки.gd b/scenes/настройки/настройки.gd index d02fe1e2..2b6c54c2 100644 --- a/scenes/настройки/настройки.gd +++ b/scenes/настройки/настройки.gd @@ -281,7 +281,6 @@ func button_settings(): color_black.text = JSON.stringify(arr_col_b) var theme_node = $scroll_set/table.get_node2(1, COLOR_THEME).get_children()[0] theme_node.connect("pressed", on_theme_toggle_pressed.bind(theme_node)) - theme_node.set_pressed(false) on_theme_toggle_pressed(theme_node) diff --git a/scenes/работа/работа.gd b/scenes/работа/работа.gd index 1e3f4c72..641c8f9c 100644 --- a/scenes/работа/работа.gd +++ b/scenes/работа/работа.gd @@ -160,12 +160,6 @@ func on_settings_changed(): func apply_colors(): var is_light: bool = ProjectSettings.get_setting("application/config/Цвет темы программы", false) var style = StyleBoxFlat.new() - if is_light: - style.bg_color = Color.DARK_GRAY - add_theme_stylebox_override('panel', style) - else: - style.bg_color = Color(0.12, 0.12, 0.12) - add_theme_stylebox_override('panel', style) ## Обработчик сигнала изменения списка целей.