diff --git a/CHANGELOG.md b/CHANGELOG.md index d26a38f8a..bc932cf4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,7 @@ are doing mtv adjustments during precollision. ### Fixed +- Fixed issue where the boot `ex.Loader` was removing pixelRatio override - Fixed `ex.RasterOptions`, it now extends `ex.GraphicsOptions` which is the underlying truth - Fixed issue where rayCast `filter` would not be called in hit order - Fixed issue where rayCasts would return inconsistent orderings with the `ex.SparseHashGridCollisionProcessor` strategy diff --git a/src/engine/Director/Loader.ts b/src/engine/Director/Loader.ts index a34bfb052..15d348459 100644 --- a/src/engine/Director/Loader.ts +++ b/src/engine/Director/Loader.ts @@ -319,7 +319,6 @@ export class Loader extends DefaultLoader { await this.showPlayButton(); } - private _configuredPixelRatio: number | null = null; public override async onBeforeLoad(): Promise { const image = this._image; await this._imageLoaded.promise; @@ -328,7 +327,6 @@ export class Loader extends DefaultLoader { // eslint-disable-next-line require-await public override async onAfterLoad(): Promise { - this.screen.pixelRatioOverride = this._configuredPixelRatio; this.screen.popResolutionAndViewport(); this.screen.applyResolutionAndViewport(); this.dispose();