印花图层等禁止添加图层
This commit is contained in:
@@ -203,7 +203,7 @@ export function createLayer(options = {}) {
|
||||
isHidenDragHandle: options.isHidenDragHandle || false,
|
||||
isDisableUnlock: options.isDisableUnlock || false,
|
||||
isFixedOther: options.isFixedOther || false,
|
||||
isFixedClipMask: options.isFixedClipMask || false,
|
||||
isPrintTrimsGroup: options.isPrintTrimsGroup || false,
|
||||
|
||||
// 确保不是背景图层
|
||||
isBackground: false,
|
||||
|
||||
@@ -177,7 +177,7 @@ export function simplifyLayers(layers, excludedLayers = []) {
|
||||
isBackground: layer.isBackground || false,
|
||||
isFixed: layer.isFixed || false,
|
||||
isFixedOther: layer.isFixedOther || false,
|
||||
isFixedClipMask: layer.isFixedClipMask || false,
|
||||
isPrintTrimsGroup: layer.isPrintTrimsGroup || false,
|
||||
isHidenDragHandle: layer.isHidenDragHandle || false,
|
||||
isDisableUnlock: layer.isDisableUnlock || false,
|
||||
clippingMask:
|
||||
|
||||
Reference in New Issue
Block a user