Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
editor: NSlicer should not clamp children
This PR kinda reverts https://github.com/rive-app/rive/pull/8428 and adds few new things. It also depends on https://github.com/rive-app/rive/pull/8447 landing first. Previously I thought users would expect the NSlicedNode to control all vertices to be strictly within its bounds. Turns out there are use cases for vertices to translate outside, e.g. imagine a leaf animating outside. This PR relaxes the requirement for vertices to be inside an NSlicedNode in the editor as well as the runtime. Demo: The left shows the behavior before this PR. Note that the two vertices outside of the bounds do not show. After this PR, they remain visible: ![a31](https://github.com/user-attachments/assets/41a34e9b-543c-417c-acf8-a273969874df) Same demo in runtime: ![a3](https://github.com/user-attachments/assets/0d5cbb36-a0a8-42a6-a899-97dbe03ee420) Diffs= ce9e44c6b3 editor: NSlicer should not clamp children (#8459)
- Loading branch information