diff --git a/src/engine/Director/Loader.ts b/src/engine/Director/Loader.ts index 72b29439d..34ead1fb1 100644 --- a/src/engine/Director/Loader.ts +++ b/src/engine/Director/Loader.ts @@ -321,7 +321,7 @@ export class Loader extends DefaultLoader { public override async onBeforeLoad(): Promise { this.screen.pushResolutionAndViewport(); - this.screen.resolution = this.screen.viewport; + this.screen.resolution = { width: this.canvas.width, height: this.canvas.height }; this.screen.applyResolutionAndViewport(); const image = this._image; await this._imageLoaded.promise;