选择钥匙后切换激活的面板
This commit is contained in:
parent
96596fcdcd
commit
a304ee868d
@ -15,9 +15,11 @@ func _on_button_pressed():
|
|||||||
current_focus.hide_key()
|
current_focus.hide_key()
|
||||||
if(current_focus.name.contains('LCB')):
|
if(current_focus.name.contains('LCB')):
|
||||||
$"../LCB".shouHandleKey()
|
$"../LCB".shouHandleKey()
|
||||||
|
$"../LCB".grab_focus()
|
||||||
elif (current_focus.name.contains('PSL')):
|
elif (current_focus.name.contains('PSL')):
|
||||||
$"../psl".shouInterlockReleaseSwitchHandleKey()
|
$"../psl".shouInterlockReleaseSwitchHandleKey()
|
||||||
$"../psl".shouPSLAllowHandleKey()
|
$"../psl".shouPSLAllowHandleKey()
|
||||||
|
$"../psl".grab_focus()
|
||||||
|
|
||||||
|
|
||||||
func _on_close_requested():
|
func _on_close_requested():
|
||||||
|
Loading…
Reference in New Issue
Block a user