Fix typo in doc for GetMousePos (#462)

This commit is contained in:
Laurent Demailly 2022-02-06 00:42:18 -08:00 committed by GitHub
parent 6c1e845183
commit 264f658a46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -621,7 +621,7 @@ func MoveSmoothRelative(x, y int, args ...interface{}) {
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) {
pos := C.getMousePos()
x := int(pos.x)