2
0
Эх сурвалжийг харах

reverted diag stuff that broke unit tests

Tig 9 сар өмнө
parent
commit
fa37103472

+ 0 - 1
Terminal.Gui/Application/Application.Run.cs

@@ -498,7 +498,6 @@ public static partial class Application // Run (Begin, Run, End, Stop)
     /// <param name="forceRedraw">If <see langword="true"/> the entire View hierarchy will be redrawn. The default is <see langword="false"/> and should only be overriden for testing.</param>
     public static void Refresh (bool forceRedraw = false)
     {
-        Debug.WriteLine($"Refresh Top = {Top.Id}");
         bool clear = false;
         foreach (Toplevel tl in TopLevels.Reverse ())
         {

+ 0 - 2
Terminal.Gui/View/View.Drawing.cs

@@ -268,8 +268,6 @@ public partial class View // Drawing APIs
 
         // We assume that the text has been drawn over the entire area; ensure that the subviews are redrawn.
         SetSubViewNeedsDisplay ();
-        
-        Debug.WriteLine($"DrawText: {Id}");
     }
 
     #endregion DrawText

+ 0 - 1
Terminal.Gui/Views/MessageBox.cs

@@ -382,7 +382,6 @@ public static class MessageBox
 
         var d = new Dialog
         {
-            Id = "MessageBox",
             Title = title,
             ButtonAlignment = MessageBox.DefaultButtonAlignment,
             ButtonAlignmentModes = AlignmentModes.StartToEnd | AlignmentModes.AddSpaceBetweenItems,