浏览代码

Code cleanup and API docs

Tig 9 月之前
父节点
当前提交
76b4b7276a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/View/View.Drawing.cs

+ 1 - 1
Terminal.Gui/View/View.Drawing.cs

@@ -732,7 +732,7 @@ public partial class View // Drawing APIs
 
         SubViewNeedsDraw = true;
 
-        if (this is Adornment adornment/* and (Gui.Padding or Gui.Border)*/)
+        if (this is Adornment adornment)
         {
             adornment.Parent?.SetSubViewNeedsDraw ();
         }