From 53e39b7c112eb77c6b2cd23c15db5b35d847a139 Mon Sep 17 00:00:00 2001 From: kichikuou Date: Mon, 4 Sep 2023 13:15:40 +0900 Subject: [PATCH] emscripten: Call xsystem35.shell.showMouseMoveEffect() See kichikuou/web@07a6118 for details. --- src/ags.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ags.c b/src/ags.c index f1481de..968764c 100644 --- a/src/ags.c +++ b/src/ags.c @@ -642,6 +642,7 @@ void ags_setCursorLocation(int x, int y, bool is_dibgeo, bool for_selection) { // internal mouse coordinates. This can help with keyboard/gamepad // navigation. sdl_setCursorInternalLocation(x, y); + EM_ASM({ xsystem35.shell.showMouseMoveEffect($0, $1); }, x, y); } #else switch(nact->ags.mouse_movesw) {