diff --git a/src/AnnotationDrawing.js b/src/AnnotationDrawing.js index 63a473d20ab095a51b22ca8253698c15ccd0cdf1..7f6883128ccd47df509246644a79fedaa02f306e 100644 --- a/src/AnnotationDrawing.js +++ b/src/AnnotationDrawing.js @@ -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; }