The ScaleManager.orientationChange event listener will now directly refresh the Scale Manager internals. This fixes an issue where the orientation change event would fire after the window resize event, causing the Scale Manager to incorrectly report the new orientation on Chrome on iOS. Fix #6484

This commit is contained in:
Richard Davey 2024-02-20 22:46:05 +00:00
parent 450b0d244f
commit 68e089a380

View file

@ -1511,6 +1511,8 @@ var ScaleManager = new Class({
_this._checkOrientation = true;
_this.dirty = true;
_this.refresh();
};
listeners.windowResize = function ()