From 05eaec6dd9ff60ae92d4bc64691d90ed7be1d08f Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 27 Feb 2016 17:04:35 +0900 Subject: [PATCH] ui: Bug fix: scale for cursor was wrong (#166) --- internal/ui/ui_glfw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index b08b51bfb..71c2d7fb8 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -146,7 +146,7 @@ func (u *userInterface) actualScale() int { func (u *userInterface) pollEvents() error { glfw.PollEvents() - return updateInput(u.window, u.scale) + return updateInput(u.window, u.windowScale()) } func (u *userInterface) doEvents() error {