From c3def9de88d724949588ad55c6e7fb07d9b9b4c0 Mon Sep 17 00:00:00 2001 From: Salvador Diaz Fau Date: Sun, 3 Jan 2021 13:06:12 +0100 Subject: [PATCH] Added workaround for issue #330 --- source/uCEFBufferPanel.pas | 6 ++++-- update_CEF4Delphi.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/source/uCEFBufferPanel.pas b/source/uCEFBufferPanel.pas index c465322a..9fed8b4d 100644 --- a/source/uCEFBufferPanel.pas +++ b/source/uCEFBufferPanel.pas @@ -556,8 +556,10 @@ begin FBitmap := TBitmap.Create; FBitmap.PixelFormat := pf32bit; FBitmap.HandleType := bmDIB; - FBitmap.Width := 1; - FBitmap.Height := 1; + FBitmap.Width := 1001; + FBitmap.Height := 600; + FBitmap.Canvas.Brush.Color := clWhite; + FBitmap.Canvas.FillRect(0, 0, FBitmap.Width, FBitmap.Height); end; if (FBitmap.Width <> FBuffer.Width) or diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 7f9c9410..4a6ea165 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 219, + "InternalVersion" : 220, "Name" : "cef4delphi_lazarus.lpk", "Version" : "87.1.12.0" }