ui: Bug fix: sizeChange must be set after updateFullscreenScaleIfNeeded

This commit is contained in:
Hajime Hoshi 2018-05-12 02:11:37 +09:00
parent 59dc58a74c
commit 453921f1d3

View File

@ -296,6 +296,7 @@ func (u *userInterface) updateFullscreenScaleIfNeeded() {
scale = scaleY
}
u.fullscreenScale = scale / devicescale.DeviceScale()
u.sizeChanged = true
}
func ScreenPadding() (x0, y0, x1, y1 float64) {