mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Assign fontSize based on editor.fontSize config key
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user