mirror of
https://github.com/ENSL/NS.git
synced 2024-11-22 20:51:35 +00:00
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:
parent
ac055a0b50
commit
085a18da6b
1 changed files with 8 additions and 7 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue