Skip to content

Fix slice transformations not updating editors#5290

Merged
dacap merged 1 commit into
aseprite:mainfrom
ckaiser:fix-slice-preview
Jul 22, 2025
Merged

Fix slice transformations not updating editors#5290
dacap merged 1 commit into
aseprite:mainfrom
ckaiser:fix-slice-preview

Conversation

@ckaiser

@ckaiser ckaiser commented Jul 22, 2025

Copy link
Copy Markdown
Member

Fixes #5225.

It's kind of an "inelegant" solution, I first attempted to use the bounds and notifySpritePixelsModified but it always ended up with some parts of the image not updating correctly, and since we were originally doing a full invalidate() I figured just using the equivalent of that but for all editors would be fine.

@ckaiser ckaiser requested a review from dacap as a code owner July 22, 2025 05:15
@aseprite-bot

Copy link
Copy Markdown
Collaborator

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

@dacap

dacap commented Jul 22, 2025

Copy link
Copy Markdown
Member

LGTM! 👍

@dacap dacap merged commit 3fcb000 into aseprite:main Jul 22, 2025
12 checks passed
@ckaiser ckaiser deleted the fix-slice-preview branch September 10, 2025 05:18
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.

Preview window (and other windows) don't refresh when we're transforming slice pixels

3 participants