mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 09:42:46 +02:00
LCL: fixed TTreeView selected row's text color when themes are disabled. Patch by Balázs Székely. Issue #28014
git-svn-id: trunk@48916 -
This commit is contained in:
parent
11b4b031e8
commit
9c77d7629c
@ -4916,7 +4916,12 @@ var
|
||||
end
|
||||
else
|
||||
if not (tvoThemedDraw in Options) then
|
||||
Canvas.Font.Color := Font.Color;
|
||||
begin
|
||||
//Canvas.Font.Color := Font.Color;
|
||||
Canvas.Brush.Color := FSelectedColor;
|
||||
Canvas.Font.Color := InvertColor(Brush.Color);
|
||||
Canvas.FillRect(NodeRect);
|
||||
end;
|
||||
end
|
||||
else
|
||||
Details := ThemeServices.GetElementDetails(ttItemNormal);
|
||||
|
Loading…
Reference in New Issue
Block a user