Skip to content

Commit 1c9017e

Browse files
committed
Reduce flickering when drawing the status bar (2)
1 parent 5ac4798 commit 1c9017e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/HexMergeFrm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ void CHexMergeFrame::OnIdleUpdateCmdUI()
348348
SCROLLINFO si, siView[3];
349349
// Synchronize horizontal scrollbars
350350
pView[0]->GetScrollInfo(SB_HORZ, &si, SIF_ALL | SIF_DISABLENOSCROLL);
351-
m_HScrollInfo[0] = si;
351+
m_HScrollInfo[0] = siView[0] = si;
352352
for (pane = 1; pane < nColumns; ++pane)
353353
{
354354
SCROLLINFO siCur;
@@ -380,7 +380,7 @@ void CHexMergeFrame::OnIdleUpdateCmdUI()
380380

381381
// Synchronize vertical scrollbars
382382
pView[0]->GetScrollInfo(SB_VERT, &si, SIF_ALL | SIF_DISABLENOSCROLL);
383-
m_VScrollInfo[0] = si;
383+
m_VScrollInfo[0] = siView[0] = si;
384384
for (pane = 1; pane < nColumns; ++pane)
385385
{
386386
SCROLLINFO siCur;

0 commit comments

Comments
 (0)