From 37299595bff0dcdc3e1512e2c09cc94cd3a6ccb3 Mon Sep 17 00:00:00 2001 From: Paolo Brasolin <paolo.brasolin@eurac.edu> Date: Wed, 13 Apr 2022 10:31:56 +0200 Subject: [PATCH] fix: #fe background initial redraw --- frontend/src/js/background_scene.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/js/background_scene.ts b/frontend/src/js/background_scene.ts index a60dc4a..2a9fa1b 100644 --- a/frontend/src/js/background_scene.ts +++ b/frontend/src/js/background_scene.ts @@ -44,7 +44,7 @@ export default class BackgroundScene extends Phaser.Scene { // this.scale.displaySize.setAspectRatio( // this.cameras.main.width / this.cameras.main.height, // ); - // this.scale.refresh(); + this.scale.refresh(); this.scene.launch("welcome"); } -- GitLab