Add free draw mode (#1570)
This commit is contained in:
@ -43,7 +43,7 @@ export function restore(
|
||||
];
|
||||
}
|
||||
element.points = points;
|
||||
} else if (element.type === "line") {
|
||||
} else if (element.type === "line" || element.type === "draw") {
|
||||
// old spec, pre-arrows
|
||||
// old spec, post-arrows
|
||||
if (!Array.isArray(element.points) || element.points.length === 0) {
|
||||
|
Reference in New Issue
Block a user