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);