فهرست منبع

* Allow width 0 (bug ID 23662)

git-svn-id: trunk@26722 -
michael 11 سال پیش
والد
کامیت
576eadf6c9
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      packages/fcl-image/src/fppen.inc

+ 2 - 2
packages/fcl-image/src/fppen.inc

@@ -21,8 +21,8 @@ end;
 
 procedure TFPCustomPen.SetWidth (AValue : Integer);
 begin
-  if AValue < 1 then
-    FWidth := 1
+  if AValue < 0 then
+    FWidth := 0
   else
     FWidth := AValue;
 end;