summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-04-14 14:11:09 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-04-14 14:11:09 +0300
commitf50127c635c82f76249e9ad7446e7349a78a0cce (patch)
tree4cde78576d9747f2db569b88d562df4938f5eeb0 /plugins/NewStory/src
parent702482bc911356f55e4a3d238f905ef5156a0b51 (diff)
fixes #4349 (NewStory: смена вкладки сбрасывает позицию журнала)
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r--plugins/NewStory/src/history_log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_log.cpp b/plugins/NewStory/src/history_log.cpp
index f94f3a33fc..1cd971f388 100644
--- a/plugins/NewStory/src/history_log.cpp
+++ b/plugins/NewStory/src/history_log.cpp
@@ -91,7 +91,7 @@ public:
void Resize() override
{
- bool bottomScroll = m_pDlg.isChat() ? AtBottom() : true;
+ bool bottomScroll = AtBottom();
RECT rc;
GetWindowRect(GetDlgItem(m_pDlg.GetHwnd(), IDC_SRMM_LOG), &rc);