diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/shape-pointer-listener/component.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/shape-pointer-listener/component.jsx index 035fa37cfad09b8ada7c693373ff85be2146ee29..c1e242eb092fca59f33ebdace53e306b5617d274 100755 --- a/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/shape-pointer-listener/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/shape-pointer-listener/component.jsx @@ -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,