mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-25 21:52:17 +02:00
* Allow width 0 (bug ID 23662)
git-svn-id: trunk@26722 -
This commit is contained in:
parent
68429834a7
commit
576eadf6c9
@ -21,8 +21,8 @@ end;
|
|||||||
|
|
||||||
procedure TFPCustomPen.SetWidth (AValue : Integer);
|
procedure TFPCustomPen.SetWidth (AValue : Integer);
|
||||||
begin
|
begin
|
||||||
if AValue < 1 then
|
if AValue < 0 then
|
||||||
FWidth := 1
|
FWidth := 0
|
||||||
else
|
else
|
||||||
FWidth := AValue;
|
FWidth := AValue;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user