mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Avoid introducing breaking change
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user