Ticket #3371 (new feature)

Opened 2 years ago

Last modified 21 months ago

Handler.Box: Maintain the style of the cursor when documentDrag=true.

Reported by: jorix Owned by:
Priority: minor Milestone: 2.13 Release
Component: Handler.Box Version: 2.11 RC1
Keywords: Cc:
State: Review

Description

Dragging the corner of the box out the map (when documentDrag=true) the cursor is displayed as "move" instead of "crosshair"

To correct this, the patch proposes that only Handler.Drag makes the management of the cursor style using a new APIProperty cursorDragStyle. (this idea + CSS can be applied also to correct the same problem in Control.DragFeature)

Tests are added.

NOTE: It may be interesting to apply this ticket in 2.11 If #3363 is applied in 2.11

Attachments

3371.patch Download (11.5 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

Changed 2 years ago by ahocevar

Looks like a solid patch at first glance. Should definitely be considered for 2.11 if #3363 is pulled.

Changed 2 years ago by ahocevar

  • milestone changed from 2.12 Release to 2.11 Release

Changed 2 years ago by jorix

NOTE: If #3363 is applied the tests in this patch should be adjusted.

Changed 2 years ago by ahocevar

  • milestone changed from 2.11 Release to 2.12 Release

Changed 21 months ago by jorix

See also #3372

Note: See TracTickets for help on using tickets.