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)