From e2fd078da85f9186592ef0843e2240afa6ff5d00 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Fri, 19 Oct 2018 11:19:38 -0400 Subject: [PATCH] Fixed bitmapClick() parameter bug --- robotgo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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