forked from aseprite/aseprite
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix when using a background layer, switching to Indexed Color Mode
fills all layer bounding rectangles with Color 0 (fix aseprite#4438) Conditions to reproduce the original issue: - Opaque RGBA sprite, i.e. the bottom layer is 'Background'. - There is a second layer with an ellipse (for example). - There is a mask color #000000 alpha=0 is in the palette. - The mask color index is greater and not equal than 0. - Go to Sprite > Color Mode > Indexed. Result: the transparent color of the second layer will change to index color = 0 (usually black). Also added a test.
- Loading branch information
1 parent
8f7bf09
commit ceb93b3
Showing
2 changed files
with
43 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters