From ce5f827f32e3efcf852cf91091706d59e0151a84 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Oct 2023 14:52:07 +0300 Subject: =?UTF-8?q?fixes=20#3734=20(NewStory:=20=D1=80=D0=B0=D0=B7=D0=BD?= =?UTF-8?q?=D0=B0=D1=8F=20=D1=81=D0=BA=D0=BE=D1=80=D0=BE=D1=81=D1=82=D1=8C?= =?UTF-8?q?=20=D0=BF=D1=80=D0=BE=D0=BA=D1=80=D1=83=D1=82=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=B2=20=D1=80=D0=B0=D0=B7=D0=BD=D1=8B=D1=85=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=D1=85)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3