Save zoom level of the game and restore it when quitting the login scenes
SelectCompanionScene with zoom on mobile
This commit is contained in:
parent
6fd119c199
commit
3d9e2ad49a
6 changed files with 40 additions and 14 deletions
|
@ -1,9 +1,12 @@
|
|||
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