Skip to content

Commit

Permalink
* Fix a small refresh bug with the guild lister.
Browse files Browse the repository at this point in the history
  • Loading branch information
iProgramMC committed Feb 6, 2025
1 parent 784eb1e commit 4cd6aa1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/windows/GuildLister.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,7 @@ LRESULT CALLBACK GuildLister::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
if (yRev - si.nPos > si.nPage) {
diff += yRev - si.nPos - si.nPage;
si.nPos += diff;
selectedRect.top = std::max(selectedRect.top - diff, rect.top);
si.fMask = SIF_POS;
pThis->SetScrollInfo(&si, true);
pThis->m_oldPos = si.nPos;
Expand Down

0 comments on commit 4cd6aa1

Please sign in to comment.