Skip to content

Commit

Permalink
editor: support vector n-slicing in runtime
Browse files Browse the repository at this point in the history
This PR can be reviewed commit-by-commit.
Mostly translated directly from the editor side.

### Demo
1. NSlicedNode renders
Here I'm rendering the same file in the editor and in the runtime app. The animating object goes through changes in its width/height and translation, including negative and 0 scaling. I'm showing that nothing weird happens and they look the same.
![a2](https://github.com/user-attachments/assets/2d042ef6-0efb-4a69-9cd9-75e4ac16e889)

2. Works in a Layout for both custom and parametric paths:
![image](https://github.com/user-attachments/assets/b558407e-abfd-47bb-a788-cdb10618ff6b)

Just for funsies, here's one with vector + image n-slicing in a layout, showing images, parametric path n-slicing and custom path n-slicing
![image](https://github.com/user-attachments/assets/751ff4bf-7d75-4a3f-be7d-1f03842c1e16)

Diffs=
c7cd1c8c74 editor: support vector n-slicing in runtime (#8395)
  • Loading branch information
susan101566 committed Oct 23, 2024
1 parent 0bb258f commit d4512ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.

0 comments on commit d4512ec

Please sign in to comment.