Skip to content

Fix rotate command creating copy of selection#5461

Merged
dacap merged 1 commit into
aseprite:mainfrom
JoshuaL03:fix-rotate-command-copy
Oct 24, 2025
Merged

Fix rotate command creating copy of selection#5461
dacap merged 1 commit into
aseprite:mainfrom
JoshuaL03:fix-rotate-command-copy

Conversation

@JoshuaL03

Copy link
Copy Markdown
Contributor

Fix #1330.

This PR fixes an issue where using a keyboard shortcut to rotate a selection would create a copy of the selection if certain keys were used. Copies are now only made if a handle is passed to the related code (i.e. rotation was performed through the GUI).

@JoshuaL03 JoshuaL03 requested a review from dacap as a code owner October 12, 2025 22:45
@aseprite-bot

Copy link
Copy Markdown
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

@dacap dacap self-assigned this Oct 23, 2025
@dacap dacap added this to the v1.3.15.5 milestone Oct 24, 2025
@dacap

dacap commented Oct 24, 2025

Copy link
Copy Markdown
Member

It works great @JoshuaL03, thanks for this patch. Yeah, it looks like the Ctrl key was creating the copy.

@dacap dacap merged commit 1faf96c into aseprite:main Oct 24, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Edit > Rotate > 90 CW/CCW work differently when using keyboard shortcuts

3 participants