Skip to content

Commit

Permalink
fix coordinates when placing stamps
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jun 26, 2015
1 parent d08621a commit 80bf240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/game/GameView.cpp
Expand Up @@ -2054,8 +2054,8 @@ void GameView::OnDraw()
{
if(placeSaveThumb && selectPoint2.X!=-1)
{
int thumbX = selectPoint2.X - (placeSaveThumb->Width/2);
int thumbY = selectPoint2.Y - (placeSaveThumb->Height/2);
int thumbX = selectPoint2.X - (placeSaveThumb->Width/2) + CELL/2;
int thumbY = selectPoint2.Y - (placeSaveThumb->Height/2) + CELL/2;

ui::Point thumbPos = c->NormaliseBlockCoord(ui::Point(thumbX, thumbY));

Expand Down

0 comments on commit 80bf240

Please sign in to comment.