Skip to content

Commit

Permalink
clearing raster imagelist, avoid rasterize on loading
Browse files Browse the repository at this point in the history
  • Loading branch information
circular17 committed May 28, 2022
1 parent e914b16 commit 612925f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgrasvgimagelist.pas
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ procedure TBGRASVGImageList.Load(const XMLConf: TXMLConfig);
FItems[index].Text := XMLConf.GetValue('Item' + i.ToString + '/SVG', '');
end;
finally
QueryRasterize;
end;
end;

Expand Down Expand Up @@ -239,6 +238,7 @@ procedure TBGRASVGImageList.Rasterize;
begin
if Assigned(FTargetRasterImageList) then
begin
FTargetRasterImageList.Clear;
FTargetRasterImageList.Width := Width;
FTargetRasterImageList.Height := Height;
{$IFDEF DARWIN}
Expand Down

0 comments on commit 612925f

Please sign in to comment.