mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 07:22:03 +02:00
lcl: forms: highDPI: fix FPixelsPerInch assignment in WMDPIChanged (r53498)
git-svn-id: trunk@53500 -
This commit is contained in:
parent
2b35575b4e
commit
1c9c0abeb2
@ -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;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user