mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
Merge pull request #649 from nzlov/patch-1
fix: DragSmooth Repeat Call MoveScale
This commit is contained in:
commit
6c137427db
@ -540,8 +540,6 @@ func Drag(x, y int, args ...string) {
|
||||
//
|
||||
// robotgo.DragSmooth(10, 10)
|
||||
func DragSmooth(x, y int, args ...interface{}) {
|
||||
x, y = MoveScale(x, y)
|
||||
|
||||
Toggle("left")
|
||||
MilliSleep(50)
|
||||
MoveSmooth(x, y, args...)
|
||||
|
Loading…
Reference in New Issue
Block a user