mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
fix: DragSmooth Repeat Call MoveScale
`DragSmooth` calls `MoveScale` followed by `MoveSmooth`, and `MoveSmooth` calls `MoveScale` within `MoveSmooth`, resulting in duplicate calls to `MoveScale`.
This commit is contained in:
parent
b718cf4a8c
commit
3171c5bdff
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue