Skip to content
Snippets Groups Projects
Commit dbf2412c authored by Anthony's avatar Anthony
Browse files

Annot en commenting

parent 02ba012a
Branches
No related tags found
1 merge request!10Draft: MigratingAnnotationCreation to MUI5.
Pipeline #1914 failed
...@@ -85,7 +85,7 @@ export async function saveAnnotation(canvases, config, receiveAnnotation, annota ...@@ -85,7 +85,7 @@ export async function saveAnnotation(canvases, config, receiveAnnotation, annota
}, },
drawingState: drawingStateSerialized, drawingState: drawingStateSerialized,
id: (annotation && annotation.id) || `${uuid()}`, id: (annotation && annotation.id) || `${uuid()}`,
motivation: 'painting', motivation: 'commenting',
target: `${canvas.id}#xywh=0,0,640,360&t=0,1000',`, target: `${canvas.id}#xywh=0,0,640,360&t=0,1000',`,
type: 'Annotation', type: 'Annotation',
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment