From a76205256d2cbee2a51c221001d0d8489d1fde95 Mon Sep 17 00:00:00 2001 From: Machiste Quintana Date: Tue, 28 Apr 2015 23:09:31 -0400 Subject: [PATCH] Only need oldValue --- src/workspace.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workspace.coffee b/src/workspace.coffee index 07040463b..0e6fb7e40 100644 --- a/src/workspace.coffee +++ b/src/workspace.coffee @@ -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.