@esimmons wrote:
Hello,
We are seeing an issue where the InputEvent.clickCount property continually increments (well past 1) if we click the left mouse button (assuming a right handed mouse). We are using the PolygonDrawing tool and the addPoint function is failing on the bold if statement in the code segment below. We do not see this issue when running Internet Explorer on a Windows 7 machine.
// a new temporary end point, the previous one is now "accepted"
this.addPoint(this.diagram.lastInput.documentPoint);
if (!this.diagram.lastInput.left) { // e.g. right mouse down
this.finishShape();
} else if (this.diagram.lastInput.clickCount > 1) { // e.g. double-click
this.removeLastPoint();
this.finishShape();
}
Posts: 6
Participants: 2