瀏覽代碼

Fix PG dark theme

David Catuhe 7 年之前
父節點
當前提交
ec7d5f911f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Playground/js/index.js

+ 1 - 0
Playground/js/index.js

@@ -701,6 +701,7 @@
 
             var oldCode = jsEditor.getValue();
             jsEditor.dispose();
+            editorOptions.theme = vsTheme;
             jsEditor = monaco.editor.create(document.getElementById('jsEditor'), editorOptions);
             jsEditor.setValue(oldCode);
             setFontSize(fontSize);