From 37bdacf42b9d3942215bbd72f8ce32377e2f2d71 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 18 Oct 2023 13:33:37 +0300 Subject: =?UTF-8?q?fixes=20#3744=20(NewStory:=20=D0=BF=D0=BE=D1=81=D0=BB?= =?UTF-8?q?=D0=B5=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=D0=B4=D0=BD=D0=B5=D0=B3?= =?UTF-8?q?=D0=BE=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=B2=D0=BE=D0=B7=D0=BD=D0=B8=D0=BA=D0=B0=D0=B5=D1=82=20?= =?UTF-8?q?=D0=BF=D1=83=D1=81=D1=82=D0=BE=D1=82=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_control.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/NewStory/src') diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index fdf43124b0..2bc48a8adc 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -750,9 +750,9 @@ void NewstoryListData::ScrollDown(int deltaY) } if (!bFound) scrollTopItem = scrollTopPixel = 0; - FixScrollPosition(); } + FixScrollPosition(); InvalidateRect(m_hwnd, 0, FALSE); } @@ -786,10 +786,9 @@ void NewstoryListData::ScrollUp(int deltaY) if (!bFound) scrollTopItem = scrollTopPixel = 0; - - FixScrollPosition(); } + FixScrollPosition(); InvalidateRect(m_hwnd, 0, FALSE); } -- cgit v1.2.3