Bug #3540
closed
Initial paint of new rectangle draws very tall rectangle before dragging
Added by Ryan McFall about 16 years ago.
Updated about 16 years ago.
Description
When creating a new rectangle, the initial drag draws it with a very small width and very large height before the drag event fires and updates the corner of the rectangle.
This appears to have been an issue with the initial coordinate system of the mouse pressed event. It was being converted the viewer coordinates, with knowledge of the scroll pane's viewport. This seems to have been wrong. A question still exists as to whether the method convertMouseEventPointToViewerPoint in Selector is even needed. Currently it is not called, and is commented out in Selector. If enough time passes, we can decide that it's not really needed.
Original Bugzilla ID was 3540
Also available in: Atom
PDF