drop: chrome weird behavior, multiple cursor moves.

This commit is contained in:
Miroslav Šedivý 2021-01-06 20:16:21 +01:00
parent 3e52b264ba
commit 39208f1ea5

View File

@ -20,5 +20,7 @@ func (manager *DesktopManagerCtx) DropFiles(x int, y int, files []string) {
time.Sleep(DELAY) time.Sleep(DELAY)
manager.Move(x, y) manager.Move(x, y)
time.Sleep(DELAY) time.Sleep(DELAY)
manager.Move(x, y)
time.Sleep(DELAY)
manager.ButtonUp(1) manager.ButtonUp(1)
} }