Skip to content

Commit

Permalink
win: fix forgotten redraw on resized columns eclipse-platform#441
Browse files Browse the repository at this point in the history
The first visible column needs a special treatment.
  • Loading branch information
EcljpseB0T committed Oct 20, 2022
1 parent 16d8ff0 commit af88c37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8056,7 +8056,7 @@ LRESULT wmNotifyHeader (NMHDR hdr, long wParam, long lParam) {
int flags = OS.SW_INVALIDATE | OS.SW_ERASE;
OS.ScrollWindowEx (handle, deltaX, 0, rect, null, 0, null, flags);
}
if (getColumnIndex(phdn.iItem) != 0) {
if (getFirstColumnIndex() != phdn.iItem) {
rect.left = headerRect.left;
rect.right = newX;
OS.InvalidateRect (handle, rect, true);
Expand Down

0 comments on commit af88c37

Please sign in to comment.