Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Return current styles highlight color as FocusedSelectionBorderColor
  • Loading branch information
luebbe committed Nov 29, 2017
1 parent e151ed5 commit 8954476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/VirtualTrees.pas
Original file line number Diff line number Diff line change
Expand Up @@ -12093,7 +12093,7 @@ function TVTColors.GetColor(const Index: Integer): TColor;
9:
// FocusedSelectionBorderColor
if FColors[Index] = clHighlight then
StyleServices.GetElementColor(StyleServices.GetElementDetails(ttItemSelected), ecFillColor, Result)
Result := StyleServices.GetSystemColor(clHighlight)
else
Result := FColors[Index];
11:
Expand Down

0 comments on commit 8954476

Please sign in to comment.