diff --git a/lama_cleaner/app/src/components/Editor/Editor.tsx b/lama_cleaner/app/src/components/Editor/Editor.tsx index 8401fb9..b01e151 100644 --- a/lama_cleaner/app/src/components/Editor/Editor.tsx +++ b/lama_cleaner/app/src/components/Editor/Editor.tsx @@ -562,6 +562,8 @@ export default function Editor() { setImageWidth(newRender.width) const newRenders = [...renders, newRender] setRenders(newRenders) + const newLineGroups = [...lineGroups, []] + setLineGroups(newLineGroups) const end = new Date() const time = end.getTime() - start.getTime() @@ -591,6 +593,8 @@ export default function Editor() { isProcessing, setImageHeight, setImageWidth, + lineGroups, + setLineGroups, ] )