mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Only need oldValue
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user