mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 18:18:11 +08:00
Fix one item folders (#442)
This commit is contained in:
@@ -497,7 +497,7 @@ export default defineComponent({
|
|||||||
path.push(BigInt(item.layerId.toString()));
|
path.push(BigInt(item.layerId.toString()));
|
||||||
const mapping = cache.get(path.toString());
|
const mapping = cache.get(path.toString());
|
||||||
if (mapping) layers.push(mapping);
|
if (mapping) layers.push(mapping);
|
||||||
if (item.children.length > 1) recurse(item, layers, cache);
|
if (item.children.length >= 1) recurse(item, layers, cache);
|
||||||
path.pop();
|
path.pop();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user