Archived
1
0

Use client OS to set shell class

This commit is contained in:
Asher 2019-02-26 14:31:25 -06:00
parent fa26c0bcd6
commit 1f3cbc0717
No known key found for this signature in database
GPG Key ID: 7BB4BA9C783D2BBC

View File

@ -528,12 +528,12 @@ index bc02c150a7..4ef622f669 100644
@@ -632 +632,0 @@ configurationRegistry.registerConfiguration({ @@ -632 +632,0 @@ configurationRegistry.registerConfiguration({
- -
diff --git a/src/vs/workbench/electron-browser/shell.ts b/src/vs/workbench/electron-browser/shell.ts diff --git a/src/vs/workbench/electron-browser/shell.ts b/src/vs/workbench/electron-browser/shell.ts
index fd95939506..5ed6fb52b2 100644 index fd95939506..2f32077a15 100644
--- a/src/vs/workbench/electron-browser/shell.ts --- a/src/vs/workbench/electron-browser/shell.ts
+++ b/src/vs/workbench/electron-browser/shell.ts +++ b/src/vs/workbench/electron-browser/shell.ts
@@ -548 +548 @@ export class Shell extends Disposable { @@ -548 +548 @@ export class Shell extends Disposable {
- addClasses(this.container, 'monaco-shell', platform.isWindows ? 'windows' : platform.isLinux ? 'linux' : 'mac'); - addClasses(this.container, 'monaco-shell', platform.isWindows ? 'windows' : platform.isLinux ? 'linux' : 'mac');
+ addClasses(this.container, 'web monaco-shell', platform.isWindows ? 'windows' : platform.isLinux ? 'linux' : 'mac'); + addClasses(this.container, 'web monaco-shell', browser.isWindows ? 'windows' : browser.isLinux ? 'linux' : 'mac');
diff --git a/src/vs/workbench/electron-browser/window.ts b/src/vs/workbench/electron-browser/window.ts diff --git a/src/vs/workbench/electron-browser/window.ts b/src/vs/workbench/electron-browser/window.ts
index c0aff6bd4b..15af61a9ec 100644 index c0aff6bd4b..15af61a9ec 100644
--- a/src/vs/workbench/electron-browser/window.ts --- a/src/vs/workbench/electron-browser/window.ts