o Fixed a bug with tapping +scrolldown

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@587 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2006-08-26 18:46:59 +00:00
parent ac055a0b50
commit 085a18da6b
1 changed files with 8 additions and 7 deletions

View File

@ -94,11 +94,18 @@ void AvHScrollHandler::KeyScrollDown()
ScrollDown();
}
void AvHScrollHandler::KeyScrollUpStop()
{
sKeyDown--;
if ( sKeyDown < 0 ) sKeyDown=0;
sScrollY=0;
}
void AvHScrollHandler::KeyScrollDownStop()
{
sKeyDown--;
if ( sKeyDown < 0 ) sKeyDown=0;
ScrollDown();
sScrollY=0;
}
void AvHScrollHandler::KeyScrollLeftStop()
@ -115,12 +122,6 @@ void AvHScrollHandler::KeyScrollRightStop()
sScrollX=0;
}
void AvHScrollHandler::KeyScrollUpStop()
{
sKeyDown--;
if ( sKeyDown < 0 ) sKeyDown=0;
sScrollY=0;
}
void AvHScrollHandler::ScrollLeft()
{