fix: pass layer split bounds to canvas overlay
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-03-24 03:13:31 +08:00
parent 15c57afdfa
commit 60c9c57263

View File

@ -1984,6 +1984,7 @@ export function ImageNode({ node, isSelected }: ImageNodeProps) {
title: layer.title,
layerIndex: layer.layerIndex,
totalLayers: layer.totalLayers,
bounds: layer.bounds ?? null,
}))
);
toast.success(`图层拆分完成,已新增 ${layers.length} 个图层结果`);