mirror of
https://github.com/AkiChase/scrcpy-mask
synced 2025-02-22 23:12:16 +08:00
feat(hotkey): remove sleep before reset cursor pos
This commit is contained in:
parent
396639d752
commit
0e02bd31ca
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user