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

View file

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