diff --git a/pixelgl/input.go b/pixelgl/input.go index 157b5c0..7a3764e 100644 --- a/pixelgl/input.go +++ b/pixelgl/input.go @@ -366,6 +366,7 @@ func (w *Window) updateInput() { (height-y)/height*w.bounds.H()+w.bounds.Y(), ) + //TODO: do something else, this is not entirely rock solid if w.bounds.Contains(mouse) { w.currInp.mouse = mouse }