From b5d01d6441814266faabf57de2755c3c8c83709c Mon Sep 17 00:00:00 2001 From: sadick254 Date: Wed, 14 Oct 2020 12:08:21 +0300 Subject: [PATCH] Avoid introducing breaking change --- src/workspace.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/workspace.js b/src/workspace.js index c2c17cb19..88b911972 100644 --- a/src/workspace.js +++ b/src/workspace.js @@ -373,6 +373,9 @@ module.exports = class Workspace extends Model { } initialize() { + // we set originalFontSize to avoid breaking packages that might have relied on it + this.originalFontSize = this.config.get('defaultFontSize'); + this.project.onDidChangePaths(this.updateWindowTitle); this.subscribeToAddedItems(); this.subscribeToMovedItems();