mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Merge pull request #19192 from vinkla/reset-font-size
Fix reset-font-size
This commit is contained in:
@@ -1543,9 +1543,9 @@ module.exports = class Workspace extends Model {
|
||||
}
|
||||
|
||||
subscribeToFontSize () {
|
||||
return this.config.onDidChange('editor.fontSize', ({oldValue}) => {
|
||||
return this.config.onDidChange('editor.fontSize', () => {
|
||||
if (this.originalFontSize == null) {
|
||||
this.originalFontSize = oldValue
|
||||
this.originalFontSize = this.config.get('editor.fontSize')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user