选择钥匙后切换激活的面板

This commit is contained in:
joylink_zhaoerwei 2024-04-23 17:20:15 +08:00
parent 96596fcdcd
commit a304ee868d

View File

@ -15,9 +15,11 @@ func _on_button_pressed():
current_focus.hide_key()
if(current_focus.name.contains('LCB')):
$"../LCB".shouHandleKey()
$"../LCB".grab_focus()
elif (current_focus.name.contains('PSL')):
$"../psl".shouInterlockReleaseSwitchHandleKey()
$"../psl".shouPSLAllowHandleKey()
$"../psl".grab_focus()
func _on_close_requested():