Fix typo in doc for GetMousePos

This commit is contained in:
Laurent Demailly 2022-02-05 13:53:35 -08:00 committed by GitHub
parent 6c1e845183
commit dac32aca9d
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)