Skip to content

Commit 6c13742

Browse files
authored
Merge pull request #649 from nzlov/patch-1
fix: DragSmooth Repeat Call MoveScale
2 parents ffbf4f8 + 3171c5b commit 6c13742

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

robotgo.go

-2
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,6 @@ func Drag(x, y int, args ...string) {
540540
//
541541
// robotgo.DragSmooth(10, 10)
542542
func DragSmooth(x, y int, args ...interface{}) {
543-
x, y = MoveScale(x, y)
544-
545543
Toggle("left")
546544
MilliSleep(50)
547545
MoveSmooth(x, y, args...)

0 commit comments

Comments
 (0)