This commit is contained in:
faiface 2019-03-18 22:56:18 +01:00
commit 771e2e92e2
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
} }