diff options
author | George Hazan <george.hazan@gmail.com> | 2025-05-02 17:46:50 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-05-02 17:46:50 +0300 |
commit | 151a37c494b5cb30ea40627bf1b82eb7783fc6fa (patch) | |
tree | ceafeb69c7f9990cc1477db337fad83573367d96 | |
parent | 4b848ca78f303353e07b8b9ee49cfc7797304a5d (diff) |
fixes #4440 completely
-rw-r--r-- | plugins/TabSRMM/src/container.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 5c6ba4c320..e6faee405b 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -1720,12 +1720,9 @@ panel_found: case WM_EXITSIZEMOVE:
GetClientRect(pContainer->m_hwndTabs, &rc);
- if (!((rc.right - rc.left) == pContainer->m_oldSize.cx && (rc.bottom - rc.top) == pContainer->m_oldSize.cy)) {
- dat = (CMsgDialog*)GetWindowLongPtr(pContainer->m_hwndActive, GWLP_USERDATA);
- if (dat)
- dat->DM_ScrollToBottom(0, 0);
+ if ((rc.right - rc.left) != pContainer->m_oldSize.cx || (rc.bottom - rc.top) != pContainer->m_oldSize.cy)
SendMessage(pContainer->m_hwndActive, WM_SIZE, 0, 0);
- }
+
pContainer->m_bSizingLoop = FALSE;
break;
|