Fix a problem with scrolling in the console

This commit is contained in:
Dees_Troy
2012-09-26 10:43:46 -04:00
parent b9d1c6d461
commit 293d727152
+1 -1
View File
@@ -366,7 +366,7 @@ int GUIConsole::NotifyTouch(TOUCH_STATE state, int x, int y)
{
mLastTouchY = y;
if (mCurrentLine == -1)
mCurrentLine = mLastCount - mMaxRows;
mCurrentLine = mLastCount - 1;
else if (mCurrentLine > mSlideMultiplier)
mCurrentLine -= mSlideMultiplier;
else