Cannot read property 'isFullScreen' of null (fixes #37674)

This commit is contained in:
Benjamin Pasero
2017-11-06 10:41:20 +01:00
parent 65ab6f55cd
commit 2ddac0b951
+3
View File
@@ -620,6 +620,9 @@ export class CodeWindow implements ICodeWindow {
}
public serializeWindowState(): IWindowState {
if (!this._win) {
return defaultWindowState();
}
// fullscreen gets special treatment
if (this._win.isFullScreen()) {