2
0
Tig 1 жил өмнө
parent
commit
63de8ccb80

+ 1 - 1
Terminal.Gui/View/Adornment/Adornment.cs

@@ -36,7 +36,7 @@ public class Adornment : View
     /// </summary>
     /// </summary>
     public override Rectangle Bounds
     public override Rectangle Bounds
     {
     {
-        get => new (Point.Empty, Frame.Size);
+        get => Frame with { Location = Point.Empty };
 
 
         // QUESTION: So why even have a setter then?
         // QUESTION: So why even have a setter then?
         // ANSWER: Because this is an override of a base class property, and the base class has a setter.
         // ANSWER: Because this is an override of a base class property, and the base class has a setter.