fix animate bug
This commit is contained in:
parent
7494eedc21
commit
f62a9970b2
1 changed files with 5 additions and 2 deletions
|
|
@ -354,12 +354,15 @@ kiri.load(() => {
|
|||
//destructure arcs into path points
|
||||
path = path.map(o=>
|
||||
o.arcPoints
|
||||
? o.arcPoints.map(point=>
|
||||
? [
|
||||
...o.arcPoints.map(point=>
|
||||
({
|
||||
...o,
|
||||
point
|
||||
})
|
||||
)
|
||||
),
|
||||
o
|
||||
]
|
||||
: o
|
||||
)
|
||||
.flat();
|
||||
|
|
|
|||
Loading…
Reference in a new issue