Fix initial size indicator in status bar when we move pixels

This commit is contained in:
David Capello 2016-04-19 13:45:37 -03:00
parent 87ef48b50b
commit 75d545c976

View File

@ -599,7 +599,8 @@ gfx::Rect PixelsMovement::getImageBounds()
gfx::Size PixelsMovement::getInitialImageSize() const
{
return m_initialData.bounds().size();
return gfx::Size(m_originalImage->width(),
m_originalImage->height());
}
void PixelsMovement::setMaskColor(bool opaque, color_t mask_color)