From 8f7dac6de48b9b3f988bea221dfe186881c4a777 Mon Sep 17 00:00:00 2001 From: MistEO Date: Mon, 16 Sep 2024 03:33:58 +0800 Subject: [PATCH] fix: click image --- src/MaaDebugger/webpage/index_page/master_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaDebugger/webpage/index_page/master_control.py b/src/MaaDebugger/webpage/index_page/master_control.py index 0d39659..49039e2 100644 --- a/src/MaaDebugger/webpage/index_page/master_control.py +++ b/src/MaaDebugger/webpage/index_page/master_control.py @@ -265,7 +265,7 @@ async def on_click_image(x, y): print(f"on_click_image: {x}, {y}") await maafw.click(x, y) time.sleep(0.2) - on_click_refresh() + await on_click_refresh() async def on_click_refresh(): await maafw.screenshotter.refresh(True)