feat(hotkey): remove sleep before reset cursor pos

This commit is contained in:
AkiChase 2024-05-19 11:19:09 +08:00
parent 396639d752
commit 0e02bd31ca

View File

@ -767,7 +767,6 @@ function addSightShortcuts(
} else { } else {
await touchRelateToSight(TouchAction.Up); await touchRelateToSight(TouchAction.Up);
} }
await sleep(150);
// move mouse // move mouse
await appWindow.setCursorPosition( await appWindow.setCursorPosition(
new LogicalPosition(sightClientX, sightClientY) new LogicalPosition(sightClientX, sightClientY)