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

target full page

parent fc336e0e
Branches
No related tags found
1 merge request!10Draft: MigratingAnnotationCreation to MUI5.
Pipeline #1919 failed
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment