[aseprite] 219/250: Fix symmetry axis position on Editor when tiled mode is enabled
Tobias Hansen
thansen at moszumanska.debian.org
Sun Dec 20 15:27:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 3c97f08e4eb97b2e998c2c1c9efc8a0c19d42541
Author: David Capello <davidcapello at gmail.com>
Date: Thu Oct 29 17:11:23 2015 -0300
Fix symmetry axis position on Editor when tiled mode is enabled
---
src/app/ui/editor/editor.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/ui/editor/editor.cpp b/src/app/ui/editor/editor.cpp
index 0e4afb1..c24d04d 100644
--- a/src/app/ui/editor/editor.cpp
+++ b/src/app/ui/editor/editor.cpp
@@ -643,7 +643,7 @@ void Editor::drawSpriteUnclippedRect(ui::Graphics* g, const gfx::Rect& _rc)
if (x > 0) {
gfx::Color color = color_utils::color_for_ui(docPref.grid.color());
g->drawVLine(color,
- enclosingRect.x + m_zoom.apply(x),
+ spriteRect.x + m_zoom.apply(x),
enclosingRect.y,
enclosingRect.h);
}
@@ -655,7 +655,7 @@ void Editor::drawSpriteUnclippedRect(ui::Graphics* g, const gfx::Rect& _rc)
gfx::Color color = color_utils::color_for_ui(docPref.grid.color());
g->drawHLine(color,
enclosingRect.x,
- enclosingRect.y + m_zoom.apply(y),
+ spriteRect.y + m_zoom.apply(y),
enclosingRect.w);
}
break;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list