From 237b57e4b22cd474ff79fbbf033ac874873c8781 Mon Sep 17 00:00:00 2001 From: BDisp Date: Mon, 31 Oct 2022 12:27:50 +0000 Subject: [PATCH] Refactoring code. --- Terminal.Gui/Core/View.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.Gui/Core/View.cs b/Terminal.Gui/Core/View.cs index 3da605554..0fcd73b07 100644 --- a/Terminal.Gui/Core/View.cs +++ b/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 (); }