From 2ae20f7de7ae934cb2a7fcf88a891f032e146da4 Mon Sep 17 00:00:00 2001 From: BDisp Date: Sun, 4 Dec 2022 20:11:00 +0000 Subject: [PATCH] Removed comments as requested. --- Terminal.Gui/Core/Window.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Terminal.Gui/Core/Window.cs b/Terminal.Gui/Core/Window.cs index 42d646ddb..85c8929cc 100644 --- a/Terminal.Gui/Core/Window.cs +++ b/Terminal.Gui/Core/Window.cs @@ -277,9 +277,7 @@ namespace Terminal.Gui { { var padding = Border.GetSumThickness (); var scrRect = ViewToScreen (new Rect (0, 0, Frame.Width, Frame.Height)); - //var borderLength = Border.DrawMarginFrame ? 1 : 0; - // FIXED: Why do we draw the frame twice? This call is here to clear the content area, I think. Why not just clear that area? if (!NeedDisplay.IsEmpty || ChildNeedsDisplay || LayoutNeeded) { Driver.SetAttribute (GetNormalColor ()); Clear ();