mirror of
https://github.com/atom/atom.git
synced 2026-01-27 07:47:58 -05:00
Add these changes to the non scheduled code path
This commit is contained in:
@@ -276,8 +276,12 @@ class TextEditorComponent {
|
||||
})
|
||||
})
|
||||
} else {
|
||||
this.measureContentDuringUpdateSync()
|
||||
this.updateSyncAfterMeasuringContent()
|
||||
const restartFrame = this.measureContentDuringUpdateSync()
|
||||
if (restartFrame) {
|
||||
this.updateSync(false)
|
||||
} else {
|
||||
this.updateSyncAfterMeasuringContent()
|
||||
}
|
||||
}
|
||||
|
||||
this.updateScheduled = false
|
||||
|
||||
Reference in New Issue
Block a user