mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 15:32:38 +00:00
Set as mask color the bg index specified in the GIF file
This commit is contained in:
parent
732f527eb1
commit
d5fea43972
@ -673,6 +673,8 @@ private:
|
||||
|
||||
m_currentImage.reset(Image::create(IMAGE_INDEXED, w, h));
|
||||
m_previousImage.reset(Image::create(IMAGE_INDEXED, w, h));
|
||||
m_currentImage->setMaskColor(m_bgIndex);
|
||||
m_previousImage->setMaskColor(m_bgIndex);
|
||||
clear_image(m_currentImage.get(), m_bgIndex);
|
||||
clear_image(m_previousImage.get(), m_bgIndex);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user