Refactor usage of EditorState + Add version to editorState + increment editorState to "v2.0.0"
This commit is contained in:
parent
460669987d
commit
afd303f8cb
13 changed files with 136 additions and 179 deletions
|
@ -10,6 +10,7 @@ import { Orientation } from '../Enums/Orientation';
|
|||
import { AppState } from '../Enums/AppState';
|
||||
import { type IDimensionOptions } from '../Interfaces/IDimensionOptions';
|
||||
import { type IDimensionStyle } from '../Components/SVG/Elements/Dimension';
|
||||
import { version } from 'react';
|
||||
|
||||
/// EDITOR DEFAULTS ///
|
||||
|
||||
|
@ -151,7 +152,8 @@ export function GetDefaultEditorState(configuration: IConfiguration): IEditorSta
|
|||
symbols: new Map()
|
||||
}
|
||||
],
|
||||
historyCurrentStep: 0
|
||||
historyCurrentStep: 0,
|
||||
version: APP_VERSION
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue