anno-mods / AnnoMapEditor

Community editor for Anno 1800 map templates.
Other
38 stars 5 forks source link

add dragging of multiple elements #74

Closed Cyclonit closed 1 year ago

Cyclonit commented 1 year ago

This PR adds the ability to move multiple objects at once. You can select multiple objects by holding down SHIFT.

When dragging elements, the previously existing constraints apply. You cannot move StartingSpots outside of the playable area of the map. They will stop moving at the edge and thus move relative to the remainder of the selection.

Cyclonit commented 1 year ago

@jakobharder, @Shad0wlife, I'd appreciate a review on this one. I am quite happy with the result but there are a lot of changes and thus I'd rather not merge it without a review.

Cyclonit commented 1 year ago

I moved development to a separate branch and reordered some changes for clarity. See work on devel/v0.6.