Fix Load Editor
This commit is contained in:
parent
95769f4718
commit
6ee4eb2986
1 changed files with 6 additions and 2 deletions
|
@ -138,10 +138,14 @@
|
|||
public LoadEditor(editorState: IEditorState) {
|
||||
this.ReviveEditorState(editorState, (state) => {
|
||||
this.SetEditor(state, (currentState) => {
|
||||
setTimeout(() => {
|
||||
this.app.App.SetAppState(2, () => {
|
||||
setTimeout(() => {
|
||||
this.app.Editor.SetHistory({ history: state.history, historyCurrentStep: state.historyCurrentStep });
|
||||
}, 200);
|
||||
});
|
||||
}, 200);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue