We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d581c commit 872219cCopy full SHA for 872219c
Source/VirtualTrees.pas
@@ -28772,6 +28772,9 @@ procedure TBaseVirtualTree.PaintTree(TargetCanvas: TCanvas; const Window: TRect;
28772
if DrawSelectionRect then
28773
begin
28774
R := OrderRect(FNewSelRect);
28775
+ //lclheader
28776
+ if hoVisible in FHeader.Options then
28777
+ OffsetRect(R, 0, FHeader.Height);
28778
// Remap the selection rectangle to the current window of the tree.
28779
// Since Target has been used for other tasks BaseOffset got the left extent of the target position here.
28780
OffsetRect(R, -Target.X + BaseOffset - Window.Left, -Target.Y + FOffsetY);
0 commit comments