Fix indentation of if statement

This commit is contained in:
David Capello 2021-03-19 19:32:28 -03:00
parent b015b16da5
commit d93fdfd49e

View File

@ -958,11 +958,11 @@ void DocExporter::captureSamples(Samples& samples,
else if (m_ignoreEmptyCels)
refColor = sprite->transparentColor();
if (!algorithm::shrink_bounds(sampleRender.get(),
refColor,
nullptr, // layer
spriteBounds, // startBounds
frameBounds)) { // output bounds
if (!algorithm::shrink_bounds(sampleRender.get(),
refColor,
nullptr, // layer
spriteBounds, // startBounds
frameBounds)) { // output bounds
// If shrink_bounds() returns false, it's because the whole
// image is transparent (equal to the mask color).