Commit 17aa7cc
philter
Adapt ScrollConstraint to work with NestedArtboardLayouts
This PR adapts ScrollConstraint to work with the generic LayoutNodeProvider. Previously, scrolling only worked with LayoutComponents as children. This change allows NestedArtboardLayouts to be affected by ScrollConstraints, so they can scroll in the same way that LayoutComponents do today. This also lays the groundwork for component lists to be scrollable.
Diffs=
71b138cf40 Adapt ScrollConstraint to work with NestedArtboardLayouts (#8968)1 parent c65d298 commit 17aa7cc
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Submodule rive-runtime updated 12 files
- .rive_head+1-1
- include/rive/constraints/layout_constraint.hpp+2-2
- include/rive/constraints/scrolling/scroll_constraint.hpp+2-1
- include/rive/layout/layout_node_provider.hpp+27
- include/rive/layout_component.hpp+8-4
- include/rive/nested_artboard_layout.hpp+11-1
- src/animation/state_machine_instance.cpp+4-1
- src/constraints/scrolling/scroll_bar_constraint.cpp+4-4
- src/constraints/scrolling/scroll_constraint.cpp+32-21
- src/layout/layout_node_provider.cpp+27
- src/layout_component.cpp-8
- src/nested_artboard_layout.cpp+24
0 commit comments