mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +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
|
scale = scaleY
|
||||||
}
|
}
|
||||||
u.fullscreenScale = scale / devicescale.DeviceScale()
|
u.fullscreenScale = scale / devicescale.DeviceScale()
|
||||||
|
u.sizeChanged = true
|
||||||
}
|
}
|
||||||
|
|
||||||
func ScreenPadding() (x0, y0, x1, y1 float64) {
|
func ScreenPadding() (x0, y0, x1, y1 float64) {
|
||||||
|
Loading…
Reference in New Issue
Block a user