Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
This commit is contained in:
parent
3cc0ec3d30
commit
489b03138f
|
@ -54,7 +54,7 @@ func (w *Window) SetMousePosition(v pixel.Vec) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// MouseEntered returns true if the mouse position is within the Window's Bounds.
|
// MouseInsideWindow returns true if the mouse position is within the Window's Bounds.
|
||||||
func (w *Window) MouseInsideWindow() bool {
|
func (w *Window) MouseInsideWindow() bool {
|
||||||
return w.cursorInsideWindow
|
return w.cursorInsideWindow
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue