Scroll faster in reaction to the scroll wheel.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2310
This commit is contained in:
Simon Howard 2011-03-27 23:45:53 +00:00
parent 623b4b1a2f
commit a69af94b58

View file

@ -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;