浏览代码

Refactoring code.

BDisp 2 年之前
父节点
当前提交
237b57e4b2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 			var r = new Rect (actX, actY, actW, actH);
 			if (Frame != r) {
 			if (Frame != r) {
-				Frame = new Rect (actX, actY, actW, actH);
+				Frame = r;
 				if (!SetMinWidthHeight ())
 				if (!SetMinWidthHeight ())
 					TextFormatter.Size = GetBoundsTextFormatterSize ();
 					TextFormatter.Size = GetBoundsTextFormatterSize ();
 			}
 			}