Skip to content

Commit e97092f

Browse files
author
philter
committed
Improve Layout display handling incorporating it with isCollapsed (#10473) 0389f47d3d
We revisited how we handle layout display changes and how they related to the collapsed dirt on a LayoutComponent: We now override isCollapsed in LayoutComponent to take into account both the collapsed dirt that may have been propagated down from a parent AND the LayoutComponent's own display value. If the layout has collapsed dirt, it MUST have been propagated down so it takes precendence, otherwise use its own display value We removed the need to walk up the parent tree to figure out if any layout in the hierarchy is hidden We removed a workaround to prevent a 1 frame visual glitch. This workaround was resolved by this fix and is no longer needed.
1 parent 40251de commit e97092f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c90329645837cd7bfb7e333d8fe9bc19a2de62cc
1+
0389f47d3d6e43c978e168e217e2c525448dd9d9

0 commit comments

Comments
 (0)