mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:39:30 +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;
|
||||
|
||||
procedure TRasterImage.SetTransparent(AValue: Boolean);
|
||||
var
|
||||
lTransparent: Boolean;
|
||||
begin
|
||||
if AValue = Transparent then Exit;
|
||||
lTransparent := GetTransparent();
|
||||
if AValue = lTransparent then Exit;
|
||||
|
||||
// some delphi compatibility, we can only change transparency through the mask.
|
||||
Masked := AValue;
|
||||
|
Loading…
Reference in New Issue
Block a user