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

View File

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