mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 20:21:04 +02:00
lcl: undo alpha reverse with comment
This commit is contained in:
parent
a435993a01
commit
e727e9f13b
@ -5358,7 +5358,8 @@ begin
|
|||||||
if Info.MaskSize.A = 0
|
if Info.MaskSize.A = 0
|
||||||
then Result.Alpha := AlphaOpaque
|
then Result.Alpha := AlphaOpaque
|
||||||
else begin
|
else begin
|
||||||
RBytes.Ah := 255-AColor.A;
|
RBytes.Ah := AColor.A;
|
||||||
|
// fpreadbmp says reverse: RBytes.Ah := 255-AColor.A;
|
||||||
RBytes.Al := RBytes.Ah;
|
RBytes.Al := RBytes.Ah;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user