mirror of
				https://github.com/tobspr/shapez.io.git
				synced 2025-06-13 13:04:03 +00:00 
			
		
		
		
	Minor css fixes, fix crash
This commit is contained in:
		
							parent
							
								
									ebf7ffce19
								
							
						
					
					
						commit
						5ae4b74a24
					
				@ -2,4 +2,8 @@
 | 
			
		||||
    > .container .content {
 | 
			
		||||
        @include PlainText;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    a {
 | 
			
		||||
        @include S(margin, 0, 3px);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -83,7 +83,7 @@ export const globalConfig = {
 | 
			
		||||
 | 
			
		||||
    debug: {
 | 
			
		||||
        /* dev:start */
 | 
			
		||||
        fastGameEnter: true,
 | 
			
		||||
        // fastGameEnter: true,
 | 
			
		||||
        // noArtificialDelays: true,
 | 
			
		||||
        // disableSavegameWrite: true,
 | 
			
		||||
        // showEntityBounds: true,
 | 
			
		||||
 | 
			
		||||
@ -167,6 +167,10 @@ export class MainMenuState extends GameState {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    onEnter(payload) {
 | 
			
		||||
        this.dialogs = new HUDModalDialogs(null, this.app);
 | 
			
		||||
        const dialogsElement = document.body.querySelector(".modalDialogParent");
 | 
			
		||||
        this.dialogs.initializeToElement(dialogsElement);
 | 
			
		||||
 | 
			
		||||
        if (payload.loadError) {
 | 
			
		||||
            this.dialogs.showWarning(
 | 
			
		||||
                T.dialogs.gameLoadFailure.title,
 | 
			
		||||
@ -174,10 +178,6 @@ export class MainMenuState extends GameState {
 | 
			
		||||
            );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        this.dialogs = new HUDModalDialogs(null, this.app);
 | 
			
		||||
        const dialogsElement = document.body.querySelector(".modalDialogParent");
 | 
			
		||||
        this.dialogs.initializeToElement(dialogsElement);
 | 
			
		||||
 | 
			
		||||
        const qs = this.htmlElement.querySelector.bind(this.htmlElement);
 | 
			
		||||
        this.trackClicks(qs(".mainContainer .playButton"), this.onPlayButtonClicked);
 | 
			
		||||
        this.trackClicks(qs(".mainContainer .importButton"), this.requestImportSavegame);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user