From f0a785b4e591cb6e134be3d7ec77a50568acfc25 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Thu, 13 Jun 2024 09:59:53 +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=D0=A0=D0=B5=D0=B6=D0=B8=D0=BC=20=D0=9A=D0=BE?= =?UTF-8?q?=D0=BD=D1=82=D1=80=D0=BE=D0=BB=D1=8C.=20=D0=9E=D1=82=D0=BE?= =?UTF-8?q?=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D0=BE=D1=8F=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/контроль/блок-б.tscn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scenes/контроль/блок-б.tscn b/scenes/контроль/блок-б.tscn index 380b8375..4127db4a 100644 --- a/scenes/контроль/блок-б.tscn +++ b/scenes/контроль/блок-б.tscn @@ -124,7 +124,12 @@ extends PanelContainer @export var state: int: set(v): state = tools.clip_value(v, 0, textures.size() - 1) - $margin/vbox/grid0/state.texture = textures[v] + if v == 0: + $margin/vbox/grid0/state.texture = textures[1] + elif v == -1: + $margin/vbox/grid0/state.texture = textures[0] + else: + $margin/vbox/grid0/state.texture = textures[2] @export var alignment: int: