Skip to content

Commit 6f5e11b

Browse files
committed
Remove whitespace
1 parent 2a3bdb4 commit 6f5e11b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

scripts/vscode.patch

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ index 780147c..2e8c9af 100644
827827
- if (platform.isMacintosh) {
828828
+ if (browser.isMacintosh) {
829829
diff --git a/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js b/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js
830-
index 74fc798..0196be0 100644
830+
index 74fc798..0b6b5eb 100644
831831
--- a/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js
832832
+++ b/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js
833833
@@ -10 +10,19 @@
@@ -866,13 +866,8 @@ index 74fc798..0196be0 100644
866866
+ // supportFetchAPI: true,
867867
+ // corsEnabled: true
868868
+ // });
869-
@@ -310 +328 @@
870-
-
871-
+
872-
@@ -328 +346,5 @@
869+
@@ -328 +346,3 @@
873870
- newFrame.contentWindow.focus();
874-
+
875-
+ // Prevent VS Code from auto-focusing markdown preview
876871
+ if (document.hasFocus()) {
877872
+ newFrame.contentWindow.focus();
878873
+ }

0 commit comments

Comments
 (0)