!2845 修复: 组套组时的撤销重做

pull/2847/head
张子涵 3 months ago committed by ChenX
parent ce84787173
commit 079b360d06

@ -51,13 +51,19 @@ export class DataToViewForLayer
// 文件夹
if (lNode.children)
{
// children中有一个显示则为显示
const isOff = !TreeAction.FindNode(lNode.children, (child: LayerNode) =>
{
if (!layerTable.Has(child.name))
return false;
const layer = layerTable.GetAt(child.name) as LayerTableRecord;
return layer.IsOff === false;
});
// 锁定同理
const isLock = !TreeAction.FindNode(lNode.children, (child: LayerNode) =>
{
if (!layerTable.Has(child.name))
return false;
const layer = layerTable.GetAt(child.name) as LayerTableRecord;
return layer.IsLocked === false;
});

Loading…
Cancel
Save