Browse Source

Removed debug code

Tig 1 year ago
parent
commit
77f98306e0
1 changed files with 0 additions and 6 deletions
  1. 0 6
      Terminal.Gui/View/ViewDrawing.cs

+ 0 - 6
Terminal.Gui/View/ViewDrawing.cs

@@ -495,18 +495,12 @@ public partial class View
                                                                      view => view.Visible
                                                                      view => view.Visible
                                                                              && (view.NeedsDisplay || view.SubViewNeedsDisplay || view.LayoutNeeded)
                                                                              && (view.NeedsDisplay || view.SubViewNeedsDisplay || view.LayoutNeeded)
                                                                     );
                                                                     );
-
             foreach (View view in subviewsNeedingDraw)
             foreach (View view in subviewsNeedingDraw)
             {
             {
                 if (view.LayoutNeeded)
                 if (view.LayoutNeeded)
                 {
                 {
                     view.LayoutSubviews ();
                     view.LayoutSubviews ();
                 }
                 }
-
-                // Draw the subview
-                if (view.Title.Contains ("This label"))
-                { }
-
                 view.Draw ();
                 view.Draw ();
             }
             }
         }
         }