Use 'pt' instead of 'px' for font sizes

This commit is contained in:
Corey Johnson
2012-05-31 16:44:45 -07:00
parent 118a48bb47
commit 3c826ec898
5 changed files with 3 additions and 6 deletions

View File

@@ -630,7 +630,7 @@ class Editor extends View
setFontSize: (fontSize) ->
if fontSize
@css('font-size', fontSize + 'px')
@css('font-size', fontSize + 'pt')
@calculateDimensions()
@compositeCursor.updateAppearance()
@updateVisibleLines()

View File

@@ -28,7 +28,7 @@ class RootView extends View
extensions: null
extensionStates: null
fontSize: 18
fontSize: 20
initialize: (pathToOpen) ->
@extensions = {}