Fix map move pixels function

Thanks to @dalkon for this.
This commit is contained in:
Ahmed Samy 2013-12-11 18:36:31 +02:00
parent ed24a0735a
commit 04515ffbb8
1 changed files with 2 additions and 2 deletions

View File

@ -566,8 +566,8 @@ Position MapView::getPosition(const Point& point, const Size& mapSize)
void MapView::move(int x, int y)
{
m_moveOffset.x = x;
m_moveOffset.y = y;
m_moveOffset.x += x;
m_moveOffset.y += y;
}
Rect MapView::calcFramebufferSource(const Size& destSize)