mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-24 05:21:17 +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();
|
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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue