Browse Source

Made Frame non-virtual

Tig Kindel 1 year ago
parent
commit
bb08662c05
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/View/Layout/ViewLayout.cs

+ 1 - 1
Terminal.Gui/View/Layout/ViewLayout.cs

@@ -55,7 +55,7 @@ public partial class View {
 	///         <see cref="LayoutSubview(View, Rect)"/> and <see cref="OnDrawContent(Rect)"/> methods to be called.
 	///         <see cref="LayoutSubview(View, Rect)"/> and <see cref="OnDrawContent(Rect)"/> methods to be called.
 	///         </para>
 	///         </para>
 	/// </remarks>
 	/// </remarks>
-	public virtual Rect Frame {
+	public Rect Frame {
 		get => _frame;
 		get => _frame;
 		set {
 		set {
 			_frame = new Rect (value.X, value.Y, Math.Max (value.Width, 0), Math.Max (value.Height, 0));
 			_frame = new Rect (value.X, value.Y, Math.Max (value.Width, 0), Math.Max (value.Height, 0));