New LinearColorEntity, string serialization fixed

This commit is contained in:
barsdeveloper
2022-05-11 21:01:54 +02:00
parent 3c643f0c6a
commit e416591784
20 changed files with 707 additions and 125 deletions

View File

@@ -28,7 +28,7 @@ export default class NodeElement extends ISelectableDraggableElement {
*/
static fromSerializedObject(str) {
str = str.trim()
let entity = SerializerFactory.getSerializer(ObjectEntity).read(str)
let entity = SerializerFactory.getSerializer(ObjectEntity).deserialize(str)
return new NodeElement(entity)
}