Save zoom level in the gameScene and restore it after the SelectCharacterScene and CustomizeScene

This commit is contained in:
GRL 2021-06-02 18:01:36 +02:00
parent ba038dc75a
commit 59d60f54fe
4 changed files with 25 additions and 15 deletions

View file

@ -1,11 +1,9 @@
import { SelectCharacterScene } from "./SelectCharacterScene";
import {waScaleManager} from "../Services/WaScaleManager";
export class SelectCharacterMobileScene extends SelectCharacterScene {
create(){
super.create();
waScaleManager.zoomModifier = 2;
this.onResize();
this.selectedRectangle.destroy();
}