offset supports when moved from widget master to synth
This commit is contained in:
parent
b85906760c
commit
01a436861e
1 changed files with 5 additions and 4 deletions
|
|
@ -558,11 +558,12 @@ let gs_kiri_fdm = exports;
|
|||
}
|
||||
slices.forEach((slice,index) => {
|
||||
if (!slice.supports) return;
|
||||
if (sslices[index].supports) {
|
||||
sslices[index].supports.appendAll(slice.supports);
|
||||
} else {
|
||||
sslices[index].supports = slice.supports;
|
||||
if (!sslices[index].supports) {
|
||||
sslices[index].supports = [];
|
||||
}
|
||||
sslices[index].supports.appendAll(slice.supports.map(p => {
|
||||
return p.clone().move(widget.track.pos);
|
||||
}));
|
||||
});
|
||||
});
|
||||
swidget.support = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue