summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textscreen/txt_scrollpane.c8
1 files 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;