Merge pull request #164 from CodeLingoBot/rewrite
Fix function comments based on best practices from Effective Go
This commit is contained in:
commit
66670d9905
|
@ -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 {
|
||||
return w.cursorInsideWindow
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue