VTV: better fix for painting selection

git-svn-id: trunk@63609 -
This commit is contained in:
pascal 2020-07-21 05:18:41 +00:00
parent 950091831c
commit ac1050003a

View File

@ -24715,7 +24715,9 @@ begin
RowRect.Right := Max(ClientWidth, RowRect.Right);
if toShowVertGridLines in FOptions.PaintOptions then
Dec(RowRect.Right);
end;
end
else
Theme := 0;
{$endif}
{$endif ThemeSupport}
@ -24811,7 +24813,7 @@ begin
if not IsRectEmpty(InnerRect) then
{$ifdef ThemeSupport}
{$ifdef Windows}
if (tsUseExplorerTheme in FStates) and (Theme <> 0) then
if Theme <> 0 then
begin
// If the node is also hot, its background will be drawn later.
if not (toHotTrack in FOptions.FPaintOptions) or (Node <> FCurrentHotNode) or