印花图层等禁止添加图层
This commit is contained in:
@@ -493,7 +493,7 @@ export class CreateTextCommand extends Command {
|
||||
// 先在一级图层中查找
|
||||
for (let i = 0; i < layers.length; i++) {
|
||||
const layer = layers[i];
|
||||
|
||||
if (layer.isPrintTrimsGroup) continue;
|
||||
if (layer.id === layerId) {
|
||||
return {
|
||||
layer: layer,
|
||||
|
||||
Reference in New Issue
Block a user