From 4f2d24bcffcac9877972da9b51bd5db23aebb24c Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 5 May 2013 00:10:57 -0400 Subject: [PATCH] small fix --- src/gui/game/GameView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index a8b12223c..fcfa95c24 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));