From 25aa8012867cd347d67fb9a4ae3b5c9bf6e14565 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Sun, 9 Jun 2019 14:06:23 -0400 Subject: [PATCH] add dragsmooth function examples --- examples/mouse/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/mouse/main.go b/examples/mouse/main.go index 27ac403..c33c8f5 100644 --- a/examples/mouse/main.go +++ b/examples/mouse/main.go @@ -25,6 +25,9 @@ func move() { robotgo.Drag(10, 10) robotgo.Drag(20, 20, "right") + // + robotgo.DragSmooth(10, 10) + robotgo.DragSmooth(100, 200, 1.0, 100.0) // smooth move the mouse to 100, 200 robotgo.MoveSmooth(100, 200)