From fccca2639925a7cfbe17a1f57a26ed2b89d39318 Mon Sep 17 00:00:00 2001 From: Anthony Geourjon <anthony.geourjon@tetras-libre.fr> Date: Mon, 5 Feb 2024 14:56:13 +0100 Subject: [PATCH] Add temporality target --- src/AnnotationCreationUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AnnotationCreationUtils.js b/src/AnnotationCreationUtils.js index 97ecda9..fc95c2c 100644 --- a/src/AnnotationCreationUtils.js +++ b/src/AnnotationCreationUtils.js @@ -86,7 +86,7 @@ export async function saveAnnotation(canvases, config, receiveAnnotation, annota drawingState: drawingStateSerialized, id: (annotation && annotation.id) || `${uuid()}`, motivation: 'commenting', - target: `${canvas.id}#xywh=0,0,640,360&t=0,1000',`, + target: `${canvas.id}#xywh=0,0,640,360&t=${t}`, type: 'Annotation', }; -- GitLab