Scroll faster in reaction to the scroll wheel.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2310
This commit is contained in:
parent
623b4b1a2f
commit
a69af94b58
1 changed files with 4 additions and 4 deletions
|
|
@ -420,11 +420,11 @@ static void TXT_ScrollPaneMousePress(TXT_UNCAST_ARG(scrollpane),
|
|||
{
|
||||
if (scrollbars & SCROLLBAR_VERTICAL)
|
||||
{
|
||||
--scrollpane->y;
|
||||
scrollpane->y -= 3;
|
||||
}
|
||||
else if (scrollbars & SCROLLBAR_HORIZONTAL)
|
||||
{
|
||||
--scrollpane->x;
|
||||
scrollpane->x -= 3;
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
@ -433,11 +433,11 @@ static void TXT_ScrollPaneMousePress(TXT_UNCAST_ARG(scrollpane),
|
|||
{
|
||||
if (scrollbars & SCROLLBAR_VERTICAL)
|
||||
{
|
||||
++scrollpane->y;
|
||||
scrollpane->y += 3;
|
||||
}
|
||||
else if (scrollbars & SCROLLBAR_HORIZONTAL)
|
||||
{
|
||||
++scrollpane->x;
|
||||
scrollpane->x += 3;
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue