Skip to content
Snippets Groups Projects
Commit 94ea413c authored by Antoine Roy's avatar Antoine Roy
Browse files

Correctif : Les formes et les timings des annotations n'était pas correctement...

Correctif : Les formes et les timings des annotations n'était pas correctement rendu à l'ouverture de l'annotation
parent e1c1e6e3
No related branches found
No related tags found
1 merge request!10Draft: MigratingAnnotationCreation to MUI5.
Pipeline #1705 failed
......@@ -135,12 +135,10 @@ class AnnotationCreation extends Component {
lineWeightPopoverOpen: false,
popoverAnchorEl: null,
popoverLineWeightAnchorEl: null,
svg: null,
textBody: '',
textEditorStateBustingKey: 0,
// eslint-disable-next-line sort-keys,max-len
valueTime: [0, 1],
xywh: null,
...annoState,
valuetextTime: '',
mediaVideo: null,
......
......@@ -88,7 +88,8 @@ export default class WebAnnotation {
.map((kv) => `${kv[0]}=${kv[1]}`)
.join('&'),
});
}target.selector = selectors.length === 1 ? selectors[0] : selectors;
}
target.selector = selectors.length === 1 ? selectors[0] : selectors;
return target;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment