mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 17:28:01 +01:00
use Rectange with
This commit is contained in:
@@ -36,7 +36,7 @@ public class Adornment : View
|
||||
/// </summary>
|
||||
public override Rectangle Bounds
|
||||
{
|
||||
get => new (Point.Empty, Frame.Size);
|
||||
get => Frame with { Location = Point.Empty };
|
||||
|
||||
// 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.
|
||||
|
||||
Reference in New Issue
Block a user