添加印花元素排序priority

This commit is contained in:
李志鹏
2026-02-02 09:47:10 +08:00
parent 811e179889
commit fdb6a87ab4
5 changed files with 64 additions and 59 deletions

View File

@@ -283,7 +283,7 @@ export class PasteLayerCommand extends Command {
if(this.newLayer.isPrintTrims){
this.layers.value.forEach((layer) => {
if (layer.isPrintTrimsGroup) {
layer.children.push(this.newLayer);
layer.children.unshift(this.newLayer);
}
})
}else if (this.insertIndex !== undefined && this.insertIndex !== null) {