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

text input & selections ok

parent 65187a67
No related branches found
No related tags found
1 merge request!10Draft: MigratingAnnotationCreation to MUI5.
Pipeline #1707 failed
......@@ -123,12 +123,9 @@ class Rectangle extends React.Component {
stroke={this.props.stroke || 'black'}
strokeWidth={this.props.strokeWidth || 1}
id={this.props._id}
draggable={activeTool === 'cursor' || activeTool === 'edit'}
onClick={this.handleClick}
/>
......@@ -338,7 +335,7 @@ class AnnotationDrawing extends Component {
selectedShape.text = selectedShape.text.slice(0, -1);
} else {
// retrun if not a letter
// return if not a letter
if (e.key.length !== 1) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment