This commit is contained in:
cakipaul 2025-07-09 21:14:03 +08:00
parent 533a68d9ca
commit b958fc2195

View File

@ -53,8 +53,8 @@ func _unhandled_input(event: InputEvent) -> void:
if not current_child:
return
if quit_closeup_on_cancel and event.is_action_pressed("cancel"):
_exit()
get_viewport().set_input_as_handled()
_exit()
# 在有特写界面时,阻塞 interact 输入
elif event.is_action_pressed("interact"):
get_viewport().set_input_as_handled()