Skip to content

Commit

Permalink
Merge pull request #649 from nzlov/patch-1
Browse files Browse the repository at this point in the history
fix: DragSmooth Repeat Call MoveScale
  • Loading branch information
vcaesar committed Apr 15, 2024
2 parents ffbf4f8 + 3171c5b commit 6c13742
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions robotgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down

0 comments on commit 6c13742

Please sign in to comment.