From 6947d137fca8011923f39072adf5c85cdb8d63d6 Mon Sep 17 00:00:00 2001 From: RedstonewolfX <108761527+RedstonewolfX@users.noreply.github.com> Date: Sun, 14 Jul 2024 00:13:04 -0400 Subject: [PATCH] Update save-slot-select-ui-handler.ts --- src/ui/save-slot-select-ui-handler.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/ui/save-slot-select-ui-handler.ts b/src/ui/save-slot-select-ui-handler.ts index 15d49126741..10eb3ead3e9 100644 --- a/src/ui/save-slot-select-ui-handler.ts +++ b/src/ui/save-slot-select-ui-handler.ts @@ -309,13 +309,13 @@ class SessionSlot extends Phaser.GameObjects.Container { const slotWindow = addWindow(this.scene, 0, 0, 304, 52); this.add(slotWindow); - this.backer = this.scene.add.image(0, 0, `end_panel`) - this.backer.setOrigin(0.5, 0.5) - this.backer.setScale(304/909, 52/155) - this.backer.setPosition(102*1.5 - 1, 26) - this.backer.setSize(304, 52) - this.backer.setVisible(false) - this.add(this.backer) + //this.backer = this.scene.add.image(0, 0, `end_panel`) + //this.backer.setOrigin(0.5, 0.5) + //this.backer.setScale(304/909, 52/155) + //this.backer.setPosition(102*1.5 - 1, 26) + //this.backer.setSize(304, 52) + //this.backer.setVisible(false) + //this.add(this.backer) this.loadingLabel = addTextObject(this.scene, 152, 26, i18next.t("saveSlotSelectUiHandler:loading"), TextStyle.WINDOW); this.loadingLabel.setOrigin(0.5, 0.5); @@ -342,8 +342,8 @@ class SessionSlot extends Phaser.GameObjects.Container { console.log(biomePanelIDs[data.arena.biome]) if (allpanels.includes(biomePanelIDs[data.arena.biome])) { - this.backer.setTexture(`${biomePanelIDs[data.arena.biome]}_panel`) - this.backer.setVisible(true) + //this.backer.setTexture(`${biomePanelIDs[data.arena.biome]}_panel`) + //this.backer.setVisible(true) } const pokemonIconsContainer = this.scene.add.container(144, 4);