From 271423109bfe2b9e91c51a996e7fc4e73de6b80a Mon Sep 17 00:00:00 2001 From: Hanchin Hsieh Date: Thu, 23 Oct 2025 18:01:49 +0800 Subject: [PATCH] fix(platform/wasm): clear focus by resetting mouse move --- core/touch.lua | 2 +- soluna | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/touch.lua b/core/touch.lua index 88ceb05..b8e5bea 100644 --- a/core/touch.lua +++ b/core/touch.lua @@ -182,7 +182,7 @@ end function touch.update(frame) current_frame = frame if pending_clear_focus then - mouse.set_focus(nil, nil) + mouse.mouse_move(0, 0) pending_clear_focus = nil end if not state.active then diff --git a/soluna b/soluna index 74ca724..c02faee 160000 --- a/soluna +++ b/soluna @@ -1 +1 @@ -Subproject commit 74ca724ea54c63cc4681d0fe709e1bde93491679 +Subproject commit c02faeee9ddb41ff0692a028d130a2c12c560547