mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
506a1de259
The returned value from internal/devicescale.At never changes for browsers, so the detection of devicePixelRatio updates didn't work in the first place. Also, there is not a good way to detect the change [1]. This change moves the logic from internal/devicescale to internal/ui. We aim to merge these packages as a device scale factor belongs to a monitor and internal/ui manages monitors. [1] https://crbug.com/123694 |
||
---|---|---|
.. | ||
devicescale.go | ||
impl_android.go | ||
impl_desktop.go | ||
impl_ios.go |