-
Notifications
You must be signed in to change notification settings - Fork 272
DrawingPointerTool (due in 1.19) can now drag/move drawings #5846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DrawingPointerTool (due in 1.19) can now drag/move drawings #5846
Conversation
|
b.t.w. this is ready for a review. |
src/main/java/net/rptools/maptool/client/tool/drawing/DrawingPointerTool.java
Show resolved
Hide resolved
| * <li><kbd>Left Press</kbd> Prepare to drag. Show the template(s) size/radius | ||
| * <li><kbd>Left Drag</kbd> if a GM or server movement policy permits, move the drawable(s), | ||
| * templates will show the movement distance according using the movement metric setting. | ||
| * <li><kbd>Left Drag</kbd>+<kbd>CTRL</kbd> if a drawing, snap dragging to grid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small usability complaint: if start dragging a drawing without holding CTRL (no snapping), then press CTRL while still dragging (to enable snapping), I would expect the drawing to start snapping according to its original position, i.e., it should be offset by some whole number of grid cells from where the original drawing is. Instead what happens is that it snaps according to the position the dragged drawing is at when I start holding CTRL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I will take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be resolved now and ready for a re-review.
progresses #2743
Description of the Change
DrawingPointerTool(due in 1.19) can now drag/move drawings that have been drawn by MapTool's drawings tools.DrawPanelPopupMenucan now duplicate selected drawings.Possible Drawbacks
None anticipated
Documentation Notes
With the DrawingPointerTool active, selected drawings or groups of drawings can now be dragged by the mouse.
Selected drawings can now be duplicated using the drawing popup menu, and using
CTRL+Vwhen the DrawingPointerTool is active.Release Notes
Drawn drawings can now be dragged.
This change is