-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the double leaf node updates in
flex_node_system
(#8264)
# Objective If a UI node has a changed `CalculatedSize` component and either the UI does a full update or the node also has a changed `Style` component, the node's corresponding Taffy node will be updated twice by `flex_node_system`. ## Solution Add a `Without<Calculated>` query filter so that the two changed node queries in `flex_node_system` are mutually exclusive and move the `CalculatedSize` node updater into the else block of the full-update if conditional.
- Loading branch information
Showing
1 changed file
with
21 additions
and
24 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