mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
Fixed bitmapClick() parameter bug
This commit is contained in:
parent
48a33f8a6d
commit
e2fd078da8
@ -960,7 +960,7 @@ func FindBit(args ...interface{}) (int, int) {
|
|||||||
// BitmapClick find the bitmap and click
|
// BitmapClick find the bitmap and click
|
||||||
func BitmapClick(bitmap C.MMBitmapRef, args ...interface{}) {
|
func BitmapClick(bitmap C.MMBitmapRef, args ...interface{}) {
|
||||||
x, y := FindBitmap(bitmap)
|
x, y := FindBitmap(bitmap)
|
||||||
MovesClick(x, y, args)
|
MovesClick(x, y, args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// PointInBounds bitmap point in bounds
|
// PointInBounds bitmap point in bounds
|
||||||
|
Loading…
Reference in New Issue
Block a user