mirror of https://git.tuxpa.in/a/code-server.git
Add back web class
Forgot to move this to the new file when upgrading to 1.32.0.
This commit is contained in:
parent
8bab787804
commit
cded51f650
|
@ -834,7 +834,7 @@ index acb68c8ad7..bee143a0d7 100644
|
||||||
- !isMacintosh || // macOS only
|
- !isMacintosh || // macOS only
|
||||||
+ !browser.isMacintosh || // macOS only
|
+ !browser.isMacintosh || // macOS only
|
||||||
diff --git a/src/vs/workbench/electron-browser/workbench.ts b/src/vs/workbench/electron-browser/workbench.ts
|
diff --git a/src/vs/workbench/electron-browser/workbench.ts b/src/vs/workbench/electron-browser/workbench.ts
|
||||||
index 7445d7b664..9acb509d65 100644
|
index 7445d7b664..0291deeebf 100644
|
||||||
--- a/src/vs/workbench/electron-browser/workbench.ts
|
--- a/src/vs/workbench/electron-browser/workbench.ts
|
||||||
+++ b/src/vs/workbench/electron-browser/workbench.ts
|
+++ b/src/vs/workbench/electron-browser/workbench.ts
|
||||||
@@ -19 +19,2 @@ import { Registry } from 'vs/platform/registry/common/platform';
|
@@ -19 +19,2 @@ import { Registry } from 'vs/platform/registry/common/platform';
|
||||||
|
@ -847,6 +847,9 @@ index 7445d7b664..9acb509d65 100644
|
||||||
+ /*
|
+ /*
|
||||||
@@ -353,0 +357 @@ export class Workbench extends Disposable implements IPartService {
|
@@ -353,0 +357 @@ export class Workbench extends Disposable implements IPartService {
|
||||||
+ */
|
+ */
|
||||||
|
@@ -458 +462 @@ export class Workbench extends Disposable implements IPartService {
|
||||||
|
- addClasses(document.body, platformClass); // used by our fonts
|
||||||
|
+ addClasses(document.body, platformClass, isWeb ? 'web' : 'native'); // used by our fonts
|
||||||
@@ -633 +637 @@ export class Workbench extends Disposable implements IPartService {
|
@@ -633 +637 @@ export class Workbench extends Disposable implements IPartService {
|
||||||
- if (!isMacintosh && this.useCustomTitleBarStyle()) {
|
- if (!isMacintosh && this.useCustomTitleBarStyle()) {
|
||||||
+ if (isWeb || (!isMacintosh && this.useCustomTitleBarStyle())) {
|
+ if (isWeb || (!isMacintosh && this.useCustomTitleBarStyle())) {
|
||||||
|
|
Loading…
Reference in New Issue