Skip to content
Snippets Groups Projects
Commit cf95c75c authored by Samuel Jugnet's avatar Samuel Jugnet
Browse files

wip save svg

parent 03af8057
No related branches found
No related tags found
1 merge request!10Draft: MigratingAnnotationCreation to MUI5.
Pipeline #1713 failed
......@@ -480,7 +480,6 @@ class AnnotationDrawing extends Component {
currentShape: null,
isDrawing: false,
svg: async () => {
// Your function implementation here
......@@ -494,7 +493,6 @@ class AnnotationDrawing extends Component {
console.log('svg',svg);
return svg;
},
};
this.shapeRefs = {};
......@@ -768,7 +766,6 @@ class AnnotationDrawing extends Component {
const { shapes, newShape } = this.state;
const { windowId } = this.props;
console.log(windowId)
// potentiellement videoRef et windowId
......@@ -784,7 +781,7 @@ class AnnotationDrawing extends Component {
onMouseMove={this.handleMouseMove}
onDblClick={this.handleKonvasDblClick}
id={windowId}
svg={this.svg}
>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment