Skip to content
Snippets Groups Projects
Unverified Commit 7c9397e7 authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #12643 from KDSBrowne/bbb-backport-12639

Backport Bug Fix When A Shape Coordinate Is Zero
parents e3ae9060 75a14932
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ export default class ShapePointerListener extends Component {
if (this.isDrawing) {
// make sure we are drawing and we have some coordinates sent for this shape before
// to prevent sending DRAW_END on a random mouse click
if (this.lastSentCoordinate.x && this.lastSentCoordinate.y) {
if (this.lastSentCoordinate.x !== undefined && this.lastSentCoordinate.y !== undefined) {
const { getCurrentShapeId } = actions;
this.handleDrawCommonAnnotation(
this.initialCoordinate,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment