Window state restored with previous saved window state (fullscreen or normal).

Window startup size changed to 16:9 aspect ratio = 960x540.
After closing the game, window restored in previous state.
This commit is contained in:
Dmitry Mandrichenko
2016-12-21 08:32:50 +02:00
parent 46a930ad11
commit 5ebcc58ae3
2 changed files with 42 additions and 6 deletions

View File

@@ -30,7 +30,6 @@ function handleMessage(msg) {
});
});
showApps(api);
chrome.app.window.current().restore();
});
} else if(msg.data === 'Connection Established') {