Browse Source

Refactoring code.

BDisp 2 years ago
parent
commit
237b57e4b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/Core/View.cs

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

@@ -2173,7 +2173,7 @@ namespace Terminal.Gui {
 
 			var r = new Rect (actX, actY, actW, actH);
 			if (Frame != r) {
-				Frame = new Rect (actX, actY, actW, actH);
+				Frame = r;
 				if (!SetMinWidthHeight ())
 					TextFormatter.Size = GetBoundsTextFormatterSize ();
 			}