mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-17 13:20:45 +00:00
Add missing layer to shrink bounds in tilemaps
This commit is contained in:
parent
d0ab7d720c
commit
49ace2b493
@ -542,7 +542,7 @@ gfx::Rect ExpandCelCanvas::getTrimDstImageBounds() const
|
||||
else {
|
||||
gfx::Rect bounds;
|
||||
algorithm::shrink_bounds(m_dstImage.get(),
|
||||
m_dstImage->maskColor(), nullptr, bounds);
|
||||
m_dstImage->maskColor(), m_layer, bounds);
|
||||
return bounds;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user