We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3f4894 commit 3e54cecCopy full SHA for 3e54cec
Source/VirtualTrees.pas
@@ -10790,8 +10790,10 @@ procedure TVirtualTreeColumns.PaintHeader(TargetCanvas: TCanvas; R: TRect; const
10790
10791
with TargetCanvas do
10792
begin
10793
- if hpeBackground in RequestedElements then
10794
- FHeader.Treeview.DoAdvancedHeaderDraw(PaintInfo, [hpeBackground])
+ if hpeBackground in RequestedElements then begin
+ PaintInfo.PaintRectangle := BackgroundRect;
10795
+ FHeader.Treeview.DoAdvancedHeaderDraw(PaintInfo, [hpeBackground]);
10796
+ end
10797
else
10798
10799
if tsUseThemes in FHeader.Treeview.FStates then
0 commit comments