File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -827,7 +827,7 @@ index 780147c..2e8c9af 100644
827
827
- if (platform.isMacintosh) {
828
828
+ if (browser.isMacintosh) {
829
829
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
831
831
--- a/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js
832
832
+++ b/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js
833
833
@@ -10 +10,19 @@
@@ -866,13 +866,8 @@ index 74fc798..0196be0 100644
866
866
+ // supportFetchAPI: true,
867
867
+ // corsEnabled: true
868
868
+ // });
869
- @@ -310 +328 @@
870
- -
871
- +
872
- @@ -328 +346,5 @@
869
+ @@ -328 +346,3 @@
873
870
- newFrame.contentWindow.focus();
874
- +
875
- + // Prevent VS Code from auto-focusing markdown preview
876
871
+ if (document.hasFocus()) {
877
872
+ newFrame.contentWindow.focus();
878
873
+ }
You can’t perform that action at this time.
0 commit comments