From 76b4b7276add5402ef4c27d56e087ab36a156d10 Mon Sep 17 00:00:00 2001 From: Tig Date: Mon, 4 Nov 2024 12:54:30 -0700 Subject: [PATCH] Code cleanup and API docs --- Terminal.Gui/View/View.Drawing.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.Gui/View/View.Drawing.cs b/Terminal.Gui/View/View.Drawing.cs index 9d5a75b07f..9e431f81be 100644 --- a/Terminal.Gui/View/View.Drawing.cs +++ b/Terminal.Gui/View/View.Drawing.cs @@ -732,7 +732,7 @@ public void SetSubViewNeedsDraw () SubViewNeedsDraw = true; - if (this is Adornment adornment/* and (Gui.Padding or Gui.Border)*/) + if (this is Adornment adornment) { adornment.Parent?.SetSubViewNeedsDraw (); }