VSCode does not respect window layout during debugging [Windows] (fixes #2612)

This commit is contained in:
Benjamin Pasero
2016-02-09 10:48:12 +01:00
parent 6745a1e1e6
commit 22b9009c83

View File

@@ -176,11 +176,7 @@ export class ElectronWindow {
public focus(): void {
if (!this.win.isFocused()) {
if (platform.isWindows || platform.isLinux) {
this.win.show(); // Windows & Linux sometimes cannot bring the window to the front when it is in the background
} else {
this.win.focus();
}
this.win.focus();
}
}