mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-04 13:38:18 +02:00
Makes a crashing statement more clear to make debugging easier
git-svn-id: trunk@32063 -
This commit is contained in:
parent
76ed2c599f
commit
e500bcb51d
@ -692,8 +692,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TRasterImage.SetTransparent(AValue: Boolean);
|
procedure TRasterImage.SetTransparent(AValue: Boolean);
|
||||||
|
var
|
||||||
|
lTransparent: Boolean;
|
||||||
begin
|
begin
|
||||||
if AValue = Transparent then Exit;
|
lTransparent := GetTransparent();
|
||||||
|
if AValue = lTransparent then Exit;
|
||||||
|
|
||||||
// some delphi compatibility, we can only change transparency through the mask.
|
// some delphi compatibility, we can only change transparency through the mask.
|
||||||
Masked := AValue;
|
Masked := AValue;
|
||||||
|
Loading…
Reference in New Issue
Block a user