Only need oldValue

This commit is contained in:
Machiste Quintana
2015-04-28 23:09:31 -04:00
parent 2bd7cc9a99
commit a76205256d

View File

@@ -627,7 +627,7 @@ class Workspace extends Model
atom.config.set("editor.fontSize", @originalFontSize)
subscribeToFontSize: ->
atom.config.onDidChange 'editor.fontSize', ({newValue, oldValue}) =>
atom.config.onDidChange 'editor.fontSize', ({oldValue}) =>
@originalFontSize ?= oldValue
# Removes the item's uri from the list of potential items to reopen.