Skip to content
Snippets Groups Projects
Commit 5e482e47 authored by jojohoch's avatar jojohoch
Browse files

Delete deprecated properties of TextElement

After a unit definition is read, the deprecated properties are deleted.
parent e1abdead
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,11 @@ export class TextElement extends UIElement implements PositionedElement, FontEle
this.highlightableYellow = true;
this.highlightableTurquoise = true;
this.highlightableOrange = true;
delete this.interaction;
delete this.highlightable;
} else if (serializedElement.interaction === 'underlinable') {
this.highlightableYellow = true;
delete this.interaction;
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment