mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 07:36:14 +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
|
||||
then Result.Alpha := AlphaOpaque
|
||||
else begin
|
||||
RBytes.Ah := 255-AColor.A;
|
||||
RBytes.Ah := AColor.A;
|
||||
// fpreadbmp says reverse: RBytes.Ah := 255-AColor.A;
|
||||
RBytes.Al := RBytes.Ah;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user