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

Fix time regressiion

parent 19545cec
No related branches found
No related tags found
1 merge request!10Draft: MigratingAnnotationCreation to MUI5.
...@@ -96,6 +96,8 @@ function AnnotationCreation({ ...@@ -96,6 +96,8 @@ function AnnotationCreation({
} else if (typeof annotation.target === 'string') { } else if (typeof annotation.target === 'string') {
annoState.xywh = geomFromAnnoTarget(annotation.target); annoState.xywh = geomFromAnnoTarget(annotation.target);
[tstart, tend] = timeFromAnnoTarget(annotation.target); [tstart, tend] = timeFromAnnoTarget(annotation.target);
annoState.tstart = tstart;
annoState.tend = tend;
} }
if (annotation.drawingState) { if (annotation.drawingState) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment