mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Fix typo in doc for GetMousePos (#462)
This commit is contained in:
parent
6c1e845183
commit
264f658a46
@ -621,7 +621,7 @@ func MoveSmoothRelative(x, y int, args ...interface{}) {
|
|||||||
MoveSmooth(mx, my, args...)
|
MoveSmooth(mx, my, args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetMousePos get the mouse's portion return x, y
|
// GetMousePos get the mouse's position return x, y
|
||||||
func GetMousePos() (int, int) {
|
func GetMousePos() (int, int) {
|
||||||
pos := C.getMousePos()
|
pos := C.getMousePos()
|
||||||
x := int(pos.x)
|
x := int(pos.x)
|
||||||
|
Loading…
Reference in New Issue
Block a user