Assign fontSize based on editor.fontSize config key

This commit is contained in:
Nathan Sobo
2014-04-07 14:42:44 -06:00
parent d0c61eb2be
commit 44413912bc

View File

@@ -238,6 +238,7 @@ EditorCompont = React.createClass
observeConfig: ->
@subscribe atom.config.observe 'editor.fontFamily', @setFontFamily
@subscribe atom.config.observe 'editor.fontSize', @setFontSize
setFontSize: (fontSize) ->
@clearScopedCharWidths()