Fix map move pixels function

Thanks to @dalkon for this.
master
Ahmed Samy 11 years ago
parent ed24a0735a
commit 04515ffbb8

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

Loading…
Cancel
Save