1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

set font-family to editor in Preference > Interface

This commit is contained in:
Sosuke Suzuki
2018-06-27 19:34:58 +09:00
parent 70d02e9a6d
commit 58354061d8
3 changed files with 39 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ const { ipcRenderer } = require('electron')
CodeMirror.modeURL = '../node_modules/codemirror/mode/%N/%N.js'
const defaultEditorFontFamily = ['Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', 'monospace']
const defaultEditorFontFamily = consts.DEFAULT_EDITOR_FONT_FAMILY
const buildCMRulers = (rulers, enableRulers) =>
enableRulers ? rulers.map(ruler => ({column: ruler})) : []