This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always update display layer before emitting a marker layer update event
Previously, when a change was happening outside of a transaction (e.g. undo, redo, etc.), we were emitting a marker layer update event as soon as we spliced each marker layer. This was causing display layers to be out of date when the marker layer event occurred and could therefore cause problems if users performed a display layer query display layer inside the update event. With this commit, marker layer update events will now always be emitted after updating display layers, thus fixing the errors we were observing in Atom (https://circleci.com/gh/atom/atom/2806).
- Loading branch information
Antonio Scandurra
committed
Mar 3, 2017
1 parent
2b211c1
commit faa5ccc
Showing
3 changed files
with
21 additions
and
5 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
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
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