-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(troika-3d-ui): prevent sync of text nodes before flex layout fini…
…shes This prevents a flash of incorrectly-sized text, though it can still give a flash of old text; that should also be fixed in the future. This is preferable in the short term because by skipping the initial sync it frees up the worker thread to more quickly complete the flex layout. This is particularly noticeable when the text nodes are extremely large.
- Loading branch information
Showing
1 changed file
with
15 additions
and
4 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