mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-29 11:46:02 +01:00
Cannot read property 'isFullScreen' of null (fixes #37674)
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user