diff options
| author | jacob1 <jfu614@gmail.com> | 2013-05-05 04:10:57 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-05-05 04:10:57 (GMT) |
| commit | 4f2d24bcffcac9877972da9b51bd5db23aebb24c (patch) | |
| tree | 326902d3b14e63bd1dab7c7a8ecc85b16dc8e88d /src/gui | |
| parent | b45a45ba4e4ce09bcbad69233cd10c72aa0ebc10 (diff) | |
| download | powder-4f2d24bcffcac9877972da9b51bd5db23aebb24c.zip powder-4f2d24bcffcac9877972da9b51bd5db23aebb24c.tar.gz | |
small fix
Diffstat (limited to 'src/gui')
| -rw-r--r-- | src/gui/game/GameView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index a8b1222..fcfa95c 100644 --- a/src/gui/game/GameView.cpp +++ b/src/gui/game/GameView.cpp @@ -1562,8 +1562,8 @@ void GameView::DoMouseMove(int x, int y, int dx, int dy) int mouseX = x; if(mouseX > XRES) mouseX = XRES; - if (mouseX < BARSIZE+2) - mouseX = BARSIZE+2; + if (mouseX < 15) + mouseX = 15; scrollBar->Position.X = (int)(((float)mouseX/((float)XRES))*(float)(XRES-scrollSize)); |
