ui: Bug fix: SetScreenSize didn't work on browsers

This fixes #427
This commit is contained in:
Hajime Hoshi 2017-09-07 11:58:04 +09:00
parent 849211a5b0
commit 0dcba7844b

View File

@ -49,7 +49,7 @@ func shown() bool {
} }
func SetScreenSize(width, height int) bool { func SetScreenSize(width, height int) bool {
return currentUI.setScreenSize(currentUI.width, currentUI.height, currentUI.scale, currentUI.fullscreen) return currentUI.setScreenSize(width, height, currentUI.scale, currentUI.fullscreen)
} }
func SetScreenScale(scale float64) bool { func SetScreenScale(scale float64) bool {