步骤提示psl问题粗解决
This commit is contained in:
parent
20cb115869
commit
9994f69b9e
@ -34,6 +34,11 @@ func _on_panel_container_resized():
|
||||
|
||||
func computed_position():
|
||||
var position = $"../total".allClickEquipmentPostion($"..".stepOperation[$"..".stepOperationIndex])
|
||||
if $"..".stepOperation[$"..".stepOperationIndex] in ['PSLAllowLeftRotate','PSLAllowRightRotate','InterlockReleaseSwitchLeftRotate','InterlockReleaseSwitchRightRotate','CloseDoorButton','OpenDoorButton','LightTestButton','trainDepartsButton','interconnectedCloseButton','interconnectedOpenButton','removePSLKeyOfWindowPsl','removeHSJCKeyOfWindowPsl']:
|
||||
$PanelContainer.theme = left_theme_resource
|
||||
position.x = position.x - $PanelContainer.size.x + 10
|
||||
position.y = position.y - $PanelContainer.size.y - 10
|
||||
return position
|
||||
if position.x - $PanelContainer.size.x < 0:
|
||||
position.x = position.x - 10
|
||||
position.y = position.y + 10
|
||||
|
Loading…
Reference in New Issue
Block a user