Доработка. Режим Контроль. Отображение состояния
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user