https://winscp.net/tracker/1810 Source commit: 761feff907362c1597165a449244743e9e0f4158
@@ -387,6 +387,11 @@ begin
begin
Canvas.Brush.Color := clBtnFace;
Canvas.Font.Color := clBtnText;
+ end
+ else
+ if Node.Selected and (not Self.Focused) and DarkMode then
+ begin
+ Canvas.Font.Color := Font.Color;
end;
end; {InternalOnDrawItem}