LCL: TImageListCache: don't scale image list

git-svn-id: branches/HiDPIImageList@57162 -
This commit is contained in:
ondrej 2018-01-27 18:06:49 +00:00
parent b4b56d377d
commit 53ddab069c

View File

@ -124,6 +124,7 @@ begin
begin begin
Width := AWidth; Width := AWidth;
Height := AHeight; Height := AHeight;
Scaled := False;
{$IFDEF VerboseImageListCache} {$IFDEF VerboseImageListCache}
debugln('Creating new imagelist in cache for Width=',Width,' Height=', Height, ' Count = ', FImages.Count); debugln('Creating new imagelist in cache for Width=',Width,' Height=', Height, ' Count = ', FImages.Count);
if (Width <> 16) and (Width <> 24) then if (Width <> 16) and (Width <> 24) then