workadventure/front/src/Phaser/Services
Tobias Tefke 0603d08572 ScaleManager: do not apply new size if width is zero
If the game width reaches zero (e.g by resizing a cowebsite manually),
a division by zero happens when calculating the new zoom.
This results in NaN, which causes phaser to reach an invalid state when rezooming.
2022-01-03 09:09:21 +01:00
..
HdpiManager.ts refocusing on target (if any) in case of an external resize 2021-12-07 12:48:08 +01:00
WaScaleManager.ts ScaleManager: do not apply new size if width is zero 2022-01-03 09:09:21 +01:00