lcl: forms: highDPI: fix FPixelsPerInch assignment in WMDPIChanged (r53498)

git-svn-id: trunk@53500 -
This commit is contained in:
ondrej 2016-11-30 23:49:40 +00:00
parent 2b35575b4e
commit 1c9c0abeb2

View File

@ -2250,10 +2250,11 @@ begin
if Parent=nil then
begin
if Scaled then
begin
ScaleBy(Msg.wParamhi, PixelsPerInch);
FPixelsPerInch := Msg.wParamhi;
end;
end;
FPixelsPerInch := Msg.wParamhi;
end;
{------------------------------------------------------------------------------