Ticket #3373 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Handler.RegularPolygon: Error JS using documentDrag=true.

Reported by: jorix Owned by: tschaub
Priority: minor Milestone: 2.11 Release
Component: Handler.RegularPolygon Version: 2.9
Keywords: Cc:
State: Review

Description

Dragging the vertex of the polygon out the map (when documentDrag=true) appears an JS error and drag does not work out the map. Then if you release the mouse out the map when you enter in the map continues draging (without pressing the mouse)

This problem is more important if the patch #3363 is applied.

Attachments

3373.patch Download (1.3 KB) - added by jorix 2 years ago.

Change History

Changed 2 years ago by jorix

Changed 2 years ago by jorix

  • state set to Review
  • version changed from 2.11 RC1 to 2.9

This bug is very old. The Handler.RegularPolygon was born with the seed of this problem.

Inheritance is applied incorrectly, used Handler.prototype instead of Handler.Drag.prototype in initialize constructor and activate method.

Please review

Changed 2 years ago by ahocevar

  • status changed from new to closed
  • resolution set to fixed

(In [12120]) Using the correct superclass. Thanks jorix for investigating and fixing this. p=jorix (closes #3373)

Note: See TracTickets for help on using tickets.