From fcd221e5fdaa522097b206eee90865268a5fb62b Mon Sep 17 00:00:00 2001 From: BDisp Date: Wed, 29 Nov 2023 16:42:08 +0000 Subject: [PATCH] Removing forgotten code. --- Terminal.Gui/Text/ViewLayout.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Terminal.Gui/Text/ViewLayout.cs b/Terminal.Gui/Text/ViewLayout.cs index d5c868e80..dab2f2900 100644 --- a/Terminal.Gui/Text/ViewLayout.cs +++ b/Terminal.Gui/Text/ViewLayout.cs @@ -54,12 +54,6 @@ namespace Terminal.Gui { } set { _frame = new Rect (value.X, value.Y, Math.Max (value.Width, 0), Math.Max (value.Height, 0)); - if (LayoutStyle == LayoutStyle.Computed) { - if (_x is Pos.PosAbsolute) { _x = _frame.X; } - if (_y is Pos.PosAbsolute) { _y = _frame.Y; } - if (_width is Dim.DimAbsolute) { _width = _frame.Width; } - if (_height is Dim.DimAbsolute) { _height = _frame.Height; } - } if (IsInitialized || LayoutStyle == LayoutStyle.Absolute) { LayoutFrames (); TextFormatter.Size = GetTextFormatterSizeNeededForTextAndHotKey ();