Ticket #3329 (closed bug: invalid)
Handler.Path: The drawing starts after a drag
| Reported by: | jorix | Owned by: | tschaub |
|---|---|---|---|
| Priority: | trivial | Milestone: | 2.11 Release |
| Component: | Handler.Path | Version: | 2.11 RC1 |
| Keywords: | Cc: | ||
| State: |
Description
When the drag ends at the same point where it started, the drawing begins. If it was drawing a point is added.
It is very unlikely happen. I found writing the code tests for #3323. The last test of function test_persist_freehand should be:
498: t.ok(feature3.layer == null, "d) feature3 not destroyed");
You can reproduce using "measure distance" on http://openlayers.org/dev/examples/measure.html and start a drag from a corner, and ending on the same corner (taking care of pixels there are only 5 of tolerance ;-)
Change History
Note: See
TracTickets for help on using
tickets.
