The tool has two anchors, but they should be set on the first mouse down and the first mouse up events.I am able to get this to work fine, but after the OnMouseUp event, Ninja does not properly update the drawing based on the new state. For example, after the mouse up processing, the Cursor is left with the Pen and the Drawing is left in a selected state until another mouse down happens (the selected state was cleared in the code).
I have attached a simple drawing that you can use to see the issue. It is a version of the NT Rectangle (Shapes hacked to be Rect only) that has been changed in OnMouseDown and OnMouseUp to implement a single click drawing. When you use this drawing, you will observe the above behavior.
Comment