1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-02 21:57:37 +02:00

Fix rendering of example background for OSR transparency

3dd2e2902a
This commit is contained in:
Salvador Díaz Fau 2020-07-21 13:05:08 +02:00
parent 888b846cab
commit df55d013fb
2 changed files with 3 additions and 3 deletions

View File

@ -238,7 +238,7 @@ begin
// If you need transparency leave the GlobalCEFApp.BackgroundColor property // If you need transparency leave the GlobalCEFApp.BackgroundColor property
// with the default value or set the alpha channel to 0 // with the default value or set the alpha channel to 0
if TRANSPARENT_BROWSER then if TRANSPARENT_BROWSER then
GlobalCEFApp.BackgroundColor := CefColorSetARGB($00, $FF, $FF, $FF) GlobalCEFApp.BackgroundColor := CefColorSetARGB($00, $00, $00, $00)
else else
GlobalCEFApp.BackgroundColor := CefColorSetARGB($FF, $FF, $FF, $FF); GlobalCEFApp.BackgroundColor := CefColorSetARGB($FF, $FF, $FF, $FF);
end; end;
@ -779,7 +779,7 @@ begin
// If you need transparency leave the chrmosr.Options.BackgroundColor property // If you need transparency leave the chrmosr.Options.BackgroundColor property
// with the default value or set the alpha channel to 0 // with the default value or set the alpha channel to 0
if TRANSPARENT_BROWSER then if TRANSPARENT_BROWSER then
chrmosr.Options.BackgroundColor := CefColorSetARGB($00, $FF, $FF, $FF) chrmosr.Options.BackgroundColor := CefColorSetARGB($00, $00, $00, $00)
else else
chrmosr.Options.BackgroundColor := CefColorSetARGB($FF, $FF, $FF, $FF); chrmosr.Options.BackgroundColor := CefColorSetARGB($FF, $FF, $FF, $FF);

View File

@ -2,7 +2,7 @@
"UpdateLazPackages" : [ "UpdateLazPackages" : [
{ {
"ForceNotify" : true, "ForceNotify" : true,
"InternalVersion" : 166, "InternalVersion" : 167,
"Name" : "cef4delphi_lazarus.lpk", "Name" : "cef4delphi_lazarus.lpk",
"Version" : "84.2.6.0" "Version" : "84.2.6.0"
} }