LCL-GTK3: Prevent all-black background in controls. Issue #38709, patch from Anton Kavalenka.

git-svn-id: trunk@64949 -
This commit is contained in:
juha 2021-04-10 10:01:07 +00:00
parent a8969e516a
commit 74d9e094a0

View File

@ -2338,7 +2338,7 @@ var
begin
if IsWidgetOK then
begin
AColor := TColortoTGdkRGBA(AValue);
AColor := TColortoTGdkRGBA(ColorToRgb(AValue));
if FWidget <> GetContainerWidget then
begin
with FWidget^ do
@ -2427,7 +2427,7 @@ begin
if IsWidgetOK then
begin
AColor := TColortoTGdkRGBA(AValue);
AColor := TColortoTGdkRGBA(ColorToRgb(AValue));
if FWidget <> GetContainerWidget then
begin
with FWidget^ do