forked from atom/atom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Streamline character width remeasurement to hopefully avoid exceptions
Previously, I was just remeasuring characters whenever the stylesheets changed. I think there were situations in which the model changed, then I remeasured characters prior to updating the view to match the model, causing DOM exceptions. This switches the approach to only ever measure characters after an update, ensuring the view always matches the model.
- Loading branch information
Nathan Sobo
committed
Jul 8, 2014
1 parent
9975297
commit 1a22fc3
Showing
1 changed file
with
6 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters