Fix revive not restoring the last step
This commit is contained in:
parent
a7feebdcd1
commit
532151b939
1 changed files with 0 additions and 3 deletions
|
@ -12,9 +12,6 @@ import { ISymbolModel } from '../Interfaces/ISymbolModel';
|
|||
export function Revive(editorState: IEditorState): void {
|
||||
const history = editorState.history;
|
||||
|
||||
// restore last step
|
||||
editorState.historyCurrentStep = history.length - 1;
|
||||
|
||||
// restore the parents and the selected container
|
||||
ReviveHistory(history);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue