Avoid introducing breaking change

This commit is contained in:
sadick254
2020-10-14 12:08:21 +03:00
parent f0f9afc474
commit b5d01d6441

View File

@@ -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();