mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 12:18:03 +02:00
LCL: Set AntialiasingMode in the beginning of TArrow.Paint. Fix a bug made in previous commit.
git-svn-id: trunk@41236 -
This commit is contained in:
parent
e3b6cb9315
commit
1a09feaa30
@ -208,6 +208,7 @@ const
|
||||
end;
|
||||
|
||||
begin
|
||||
Canvas.AntialiasingMode := AntiAliasingMode;
|
||||
// Paint background
|
||||
Canvas.Brush.Color := Color;
|
||||
Canvas.FillRect(ClientRect);
|
||||
|
@ -17,7 +17,6 @@ type
|
||||
procedure SetAntiAliasingMode(AValue: TAntialiasingMode);
|
||||
protected
|
||||
procedure GraphicChanged;
|
||||
procedure Paint; override;
|
||||
public
|
||||
constructor Create(aOwner: TComponent); override;
|
||||
published
|
||||
@ -42,12 +41,6 @@ begin
|
||||
then Invalidate;
|
||||
end;
|
||||
|
||||
procedure TIndustrialBase.Paint;
|
||||
begin
|
||||
Canvas.AntialiasingMode := FAntiAliasingMode;
|
||||
inherited Paint;
|
||||
end;
|
||||
|
||||
procedure TIndustrialBase.SetAntiAliasingMode(AValue: TAntialiasingMode);
|
||||
begin
|
||||
if FAntiAliasingMode=AValue then Exit;
|
||||
|
Loading…
Reference in New Issue
Block a user