LCL: Fix zooming in TImage. Issue #33066, patch from AlexeyT.

git-svn-id: trunk@57336 -
This commit is contained in:
juha 2018-02-20 12:14:48 +00:00
parent c3a209f671
commit d13454aaff

View File

@ -180,7 +180,7 @@ begin
PicOutsidePartial := (PicWidth>ImgWidth) or (PicHeight>ImgHeight);
if Stretch or (Proportional and PicOutsidePartial) then
if (FStretchOutEnabled or PicOutside) and
if (FStretchOutEnabled or PicOutsidePartial) and
(FStretchInEnabled or PicInside) then
if Proportional then begin
w:=ImgWidth;