Save zoom level in the gameScene and restore it after the SelectCharacterScene and CustomizeScene
This commit is contained in:
parent
ba038dc75a
commit
59d60f54fe
4 changed files with 25 additions and 15 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue