From 380fcd460ec8689e9281d10fcdd3c5a160f0e7bd Mon Sep 17 00:00:00 2001 From: Anthony Geourjon <anthony.geourjon@tetras-libre.fr> Date: Mon, 5 Feb 2024 21:52:14 +0100 Subject: [PATCH] target full page --- src/AnnotationCreation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AnnotationCreation.js b/src/AnnotationCreation.js index e5f769b..acd0c03 100644 --- a/src/AnnotationCreation.js +++ b/src/AnnotationCreation.js @@ -107,7 +107,7 @@ function AnnotationCreation(props) { if (!annoState?.xywh) { const targetHeigth = props.mediaVideo ? props.mediaVideo.props.canvas.__jsonld.height : 1000; const targetWidth = props.mediaVideo ? props.mediaVideo.props.canvas.__jsonld.width : 500; - annoState.xywh = `10,10,${targetWidth - 10},${targetHeigth - 10}`; + annoState.xywh = `0,0,${targetWidth},${targetHeigth}`; } if (!annoState?.textBody) { -- GitLab