Skip to content

Commit 606891a

Browse files
committed
Remove whitespace
1 parent 764e444 commit 606891a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

scripts/vscode.patch

+2-7
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ index 780147c..2e8c9af 100644
785785
- if (platform.isMacintosh) {
786786
+ if (browser.isMacintosh) {
787787
diff --git a/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js b/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js
788-
index 74fc798..1c51749 100644
788+
index 74fc798..0b6b5eb 100644
789789
--- a/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js
790790
+++ b/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js
791791
@@ -10 +10,19 @@
@@ -824,13 +824,8 @@ index 74fc798..1c51749 100644
824824
+ // supportFetchAPI: true,
825825
+ // corsEnabled: true
826826
+ // });
827-
@@ -310 +328 @@
828-
-
829-
+
830-
@@ -328,2 +346,4 @@
827+
@@ -328 +346,3 @@
831828
- newFrame.contentWindow.focus();
832-
-
833-
+ // Prevent VS Code from auto-focusing markdown preview
834829
+ if (document.hasFocus()) {
835830
+ newFrame.contentWindow.focus();
836831
+ }

0 commit comments

Comments
 (0)