This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 75d545c976490d392e880b0476234fe41c49a455
Author: David Capello <[email protected]>
Date:   Tue Apr 19 13:45:37 2016 -0300

    Fix initial size indicator in status bar when we move pixels
---
 src/app/ui/editor/pixels_movement.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/app/ui/editor/pixels_movement.cpp 
b/src/app/ui/editor/pixels_movement.cpp
index e21a1fa..2509867 100644
--- a/src/app/ui/editor/pixels_movement.cpp
+++ b/src/app/ui/editor/pixels_movement.cpp
@@ -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)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/aseprite.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to