mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
window - remove obsolete code for showing window in did-finish-load
We since have changed the code so much that we always show the window after it is being created.
This commit is contained in:
@@ -360,17 +360,6 @@ export class CodeWindow extends Disposable implements ICodeWindow {
|
||||
|
||||
this.pendingLoadConfig = undefined;
|
||||
}
|
||||
|
||||
// To prevent flashing, we set the window visible after the page has finished to load but before Code is loaded
|
||||
if (this._win && !this._win.isVisible()) {
|
||||
if (this.windowState.mode === WindowMode.Maximized) {
|
||||
this._win.maximize();
|
||||
}
|
||||
|
||||
if (!this._win.isVisible()) { // maximize also makes visible
|
||||
this._win.show();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Window Focus
|
||||
|
||||
Reference in New Issue
Block a user