diff --git a/robotgo.go b/robotgo.go index b8b2279..3c0c7bb 100644 --- a/robotgo.go +++ b/robotgo.go @@ -960,7 +960,7 @@ func FindBit(args ...interface{}) (int, int) { // BitmapClick find the bitmap and click func BitmapClick(bitmap C.MMBitmapRef, args ...interface{}) { x, y := FindBitmap(bitmap) - MovesClick(x, y, args) + MovesClick(x, y, args...) } // PointInBounds bitmap point in bounds