mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
ui: Bug fix: sizeChange must be set after updateFullscreenScaleIfNeeded
This commit is contained in:
parent
59dc58a74c
commit
453921f1d3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user