mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43: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)
|
// robotgo.DragSmooth(10, 10)
|
||||||
func DragSmooth(x, y int, args ...interface{}) {
|
func DragSmooth(x, y int, args ...interface{}) {
|
||||||
x, y = MoveScale(x, y)
|
|
||||||
|
|
||||||
Toggle("left")
|
Toggle("left")
|
||||||
MilliSleep(50)
|
MilliSleep(50)
|
||||||
MoveSmooth(x, y, args...)
|
MoveSmooth(x, y, args...)
|
||||||
|
Loading…
Reference in New Issue
Block a user