append empty lineGroup
This commit is contained in:
parent
af167a0daa
commit
14596247c1
@ -562,6 +562,8 @@ export default function Editor() {
|
|||||||
setImageWidth(newRender.width)
|
setImageWidth(newRender.width)
|
||||||
const newRenders = [...renders, newRender]
|
const newRenders = [...renders, newRender]
|
||||||
setRenders(newRenders)
|
setRenders(newRenders)
|
||||||
|
const newLineGroups = [...lineGroups, []]
|
||||||
|
setLineGroups(newLineGroups)
|
||||||
|
|
||||||
const end = new Date()
|
const end = new Date()
|
||||||
const time = end.getTime() - start.getTime()
|
const time = end.getTime() - start.getTime()
|
||||||
@ -591,6 +593,8 @@ export default function Editor() {
|
|||||||
isProcessing,
|
isProcessing,
|
||||||
setImageHeight,
|
setImageHeight,
|
||||||
setImageWidth,
|
setImageWidth,
|
||||||
|
lineGroups,
|
||||||
|
setLineGroups,
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user