1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-12-03 21:44:45 +02:00

Update to CEF 86.0.20

Fixed issue #307 TBufferPanel.ScreenScale and GetDeviceScaleFactor return 1 after changing the DPI value while the browser is runninng.
This commit is contained in:
Salvador Diaz Fau
2020-10-31 14:23:06 +01:00
parent f5bce048ce
commit e601067d01
42 changed files with 2877 additions and 139 deletions

View File

@@ -599,6 +599,9 @@ end;
procedure TWebBrowserFrm.FormAfterMonitorDpiChanged(Sender: TObject; OldDPI, NewDPI: Integer);
begin
if (GlobalCEFApp <> nil) then
GlobalCEFApp.UpdateDeviceScaleFactor;
if (chrmosr <> nil) then
begin
chrmosr.NotifyScreenInfoChanged;