summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/NewStory/src/history_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index bfc51147f2..6e69fcb521 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -744,7 +744,7 @@ void NewstoryListData::ScrollDown(int deltaY)
for (int i = scrollTopItem + 1; i < totalCount; i++) {
iHeight = GetItemHeight(i);
if (iHeight > deltaY) {
- scrollTopPixel = deltaY - iHeight;
+ scrollTopPixel = -deltaY;
scrollTopItem = i;
bFound = true;
break;