2
0
Эх сурвалжийг харах

Border ClippingRect bug fix

Jean-David Moisan 6 жил өмнө
parent
commit
04b8eee7cf
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      Source/Border.cs

+ 1 - 1
Source/Border.cs

@@ -89,7 +89,7 @@ namespace Apos.Gui {
             Item.Width = Width - MarginLeft - MarginRight;
             Item.Height = Height - MarginTop - MarginBottom;
             Item.Position = Position + _topLeftOffset;
-            Item.ClippingRect = ClippingRect;
+            Item.ClippingRect = ClipRectangle(Item.BoundingRect);
 
             Item.UpdateSetup();
         }