Skip to content

Commit 9d97fd9

Browse files
committed
Add back web class
Forgot to move this to the new file when upgrading to 1.32.0.
1 parent f3038ac commit 9d97fd9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/vscode.patch

+4-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ index acb68c8ad7..bee143a0d7 100644
834834
- !isMacintosh || // macOS only
835835
+ !browser.isMacintosh || // macOS only
836836
diff --git a/src/vs/workbench/electron-browser/workbench.ts b/src/vs/workbench/electron-browser/workbench.ts
837-
index 7445d7b664..9acb509d65 100644
837+
index 7445d7b664..0291deeebf 100644
838838
--- a/src/vs/workbench/electron-browser/workbench.ts
839839
+++ b/src/vs/workbench/electron-browser/workbench.ts
840840
@@ -19 +19,2 @@ import { Registry } from 'vs/platform/registry/common/platform';
@@ -847,6 +847,9 @@ index 7445d7b664..9acb509d65 100644
847847
+ /*
848848
@@ -353,0 +357 @@ export class Workbench extends Disposable implements IPartService {
849849
+ */
850+
@@ -458 +462 @@ export class Workbench extends Disposable implements IPartService {
851+
- addClasses(document.body, platformClass); // used by our fonts
852+
+ addClasses(document.body, platformClass, isWeb ? 'web' : 'native'); // used by our fonts
850853
@@ -633 +637 @@ export class Workbench extends Disposable implements IPartService {
851854
- if (!isMacintosh && this.useCustomTitleBarStyle()) {
852855
+ if (isWeb || (!isMacintosh && this.useCustomTitleBarStyle())) {

0 commit comments

Comments
 (0)