Merge pull request #649 from nzlov/patch-1

fix: DragSmooth Repeat Call MoveScale
This commit is contained in:
Evans 2024-04-15 10:14:33 -07:00 committed by GitHub
commit 6c137427db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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...)