Reorder some parameters in Editor and UI
This commit is contained in:
parent
1a9224b768
commit
01059aa2f7
2 changed files with 4 additions and 2 deletions
|
@ -124,6 +124,7 @@ export function Editor(props: IEditorProps): JSX.Element {
|
|||
history,
|
||||
historyCurrentStep
|
||||
}}
|
||||
replaceContainer={replaceContainer}
|
||||
selectContainer={(container) => setNewHistory(
|
||||
SelectContainer(
|
||||
container,
|
||||
|
@ -209,7 +210,8 @@ export function Editor(props: IEditorProps): JSX.Element {
|
|||
)}
|
||||
saveEditorAsSVG={() => SaveEditorAsSVG()}
|
||||
loadState={(move) => setHistoryCurrentStep(move)}
|
||||
replaceContainer ={replaceContainer} setReplaceContainer={setReplaceContainer}/>
|
||||
setReplaceContainer={setReplaceContainer}
|
||||
/>
|
||||
<Menu
|
||||
getListener={() => editorRef.current}
|
||||
configuration={configuration}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue