Skip to content

Commit

Permalink
*Fixed issue #111 "Partly ugly antialiasing effects"
Browse files Browse the repository at this point in the history
  • Loading branch information
carloBarazzetta committed Sep 16, 2020
1 parent bfedc67 commit c7721ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/SVGIconItems.pas
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function TSVGIconItem.GetBitmap(const AWidth, AHeight: Integer;
if TStyleManager.IsCustomStyleActive then
Result.Canvas.Brush.Color := StyleServices.GetSystemColor(clWindow)
else
Result.Canvas.Brush.Color := clWindow;
Result.Canvas.Brush.Color := ColorToRGB(clWindow);
Result.SetSize(AWidth, AHeight);

FSVG.PaintTo(Result.Canvas.Handle, TRectF.Create(0, 0, AWidth, AHeight));
Expand Down

0 comments on commit c7721ca

Please sign in to comment.