append empty lineGroup
This commit is contained in:
parent
af167a0daa
commit
14596247c1
@ -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,
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user