Merge pull request #164 from CodeLingoBot/rewrite

Fix function comments based on best practices from Effective Go
This commit is contained in:
Michal Štrba 2019-03-12 21:59:53 +01:00 committed by GitHub
commit 66670d9905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }