Skip to content

Commit

Permalink
Fix an issue where the scroll position when clicking on Location View…
Browse files Browse the repository at this point in the history
… may not be as expected when Wrap Lines is enabled.
  • Loading branch information
sdottaka committed Dec 2, 2023
1 parent 2c866f7 commit 3b3d9a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Src/LocationView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ void CLocationView::OnLButtonDown(UINT nFlags, CPoint point)
bool bShift = (GetKeyState(VK_SHIFT) & 0x8000) != 0;
if (!GotoLocation(point, false, !bShift))
CView::OnLButtonDown(nFlags, point);
OnMouseMove(nFlags, point);
}

/**
Expand Down

0 comments on commit 3b3d9a8

Please sign in to comment.