Explorar el Código

fix: no migrating `draw` lines correctly

dwelle hace 4 años
padre
commit
a8a5e7b6ff
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/data/restore.ts

+ 3 - 0
src/data/restore.ts

@@ -122,6 +122,9 @@ const restoreElement = (
       });
     }
     case "line":
+    // @ts-ignore LEGACY type
+    // eslint-disable-next-line no-fallthrough
+    case "draw":
     case "arrow": {
       const {
         startArrowhead = null,