mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
ui: Bug fix: scale for cursor was wrong (#166)
This commit is contained in:
parent
997539b243
commit
05eaec6dd9
@ -146,7 +146,7 @@ func (u *userInterface) actualScale() int {
|
|||||||
|
|
||||||
func (u *userInterface) pollEvents() error {
|
func (u *userInterface) pollEvents() error {
|
||||||
glfw.PollEvents()
|
glfw.PollEvents()
|
||||||
return updateInput(u.window, u.scale)
|
return updateInput(u.window, u.windowScale())
|
||||||
}
|
}
|
||||||
|
|
||||||
func (u *userInterface) doEvents() error {
|
func (u *userInterface) doEvents() error {
|
||||||
|
Loading…
Reference in New Issue
Block a user