Skip to content

Commit

Permalink
good at math cont'd.
Browse files Browse the repository at this point in the history
  • Loading branch information
devinacker committed Sep 20, 2013
1 parent 92e3026 commit 80ae151
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion previewwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ void PreviewWindow::centerOn(int x, int y) {
// start at 32 pixels
// move 32 right for each positive move on the x-axis (west to east)
// and 32 left for each positive move on the y-axis (north to south)
//int centerX = 32 * (1 + x + (l - y - 1));
int centerX = 32 * (x + l - y);
// start at 16 *(h + 1) pixels
// move 16 down for each positive move on the x-axis (west to east)
Expand Down

0 comments on commit 80ae151

Please sign in to comment.