Skip to content

Commit fe05f7d

Browse files
author
philter
committed
Improve layout display change handling
This fixes reports of a flicker occuring when keying layout display between show/hide. This only occurs when using a nested artboard in the editor and seems to be due to LayoutComponent.isDisplayHidden being queried after changing the display value via LayoutComponent.syncStyle but before updateLayoutBounds is called. When this happens, we were previously just returning the style's display value which could be out of sync if updateLayoutBounds hadn't been called yet. This may require additional investigation into the layout component calls between dart and CPP since it only occurs via rive native (ie, not when using layouts in an artboard with no nested artboards and also not when viewing at runtime with nested artboards). Diffs= 0b17404745 Improve layout display change handling (#8951)
1 parent 23cec08 commit fe05f7d

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-
8d30360d7421f709243b70e49540c3e2dd8a434c
1+
0b17404745b68f2305843b516d22dbb378d7c80e

0 commit comments

Comments
 (0)