From a69af94b58ac491c8a215ebe2f81b3a521b833f4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 27 Mar 2011 23:45:53 +0000 Subject: Scroll faster in reaction to the scroll wheel. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2310 --- textscreen/txt_scrollpane.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/textscreen/txt_scrollpane.c b/textscreen/txt_scrollpane.c index 903c7910..856f6b8a 100644 --- a/textscreen/txt_scrollpane.c +++ b/textscreen/txt_scrollpane.c @@ -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; -- cgit v1.2.3