浏览代码

Preserve fontSize

Sebastien Lebreton 5 年之前
父节点
当前提交
9f35593c2f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Playground/js/monacoCreator.js

+ 1 - 0
Playground/js/monacoCreator.js

@@ -182,6 +182,7 @@ class MonacoCreator {
             readOnly: true,
             theme: this.parent.settingsPG.vsTheme,
             contextmenu: false,
+            fontSize: this.parent.settingsPG.fontSize
         }
        
         const diffEditor = monaco.editor.createDiffEditor(diffView, diffOptions);