mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
NeedsDisplay -> NeedsDraw
This commit is contained in:
@@ -200,7 +200,7 @@ public class ThicknessTests (ITestOutputHelper output)
|
||||
|
||||
t = new Thickness (1, 1, 1, 1);
|
||||
r = new Rectangle (1, 1, 40, 15);
|
||||
top.SetNeedsDisplay ();
|
||||
top.SetNeedsDraw ();
|
||||
Application.RunIteration (ref rs);
|
||||
t.Draw (r, ViewDiagnosticFlags.Ruler, "Test");
|
||||
|
||||
@@ -231,7 +231,7 @@ public class ThicknessTests (ITestOutputHelper output)
|
||||
|
||||
t = new Thickness (1, 2, 3, 4);
|
||||
r = new Rectangle (2, 2, 40, 15);
|
||||
top.SetNeedsDisplay ();
|
||||
top.SetNeedsDraw ();
|
||||
Application.RunIteration (ref rs);
|
||||
t.Draw (r, ViewDiagnosticFlags.Ruler, "Test");
|
||||
|
||||
@@ -262,7 +262,7 @@ public class ThicknessTests (ITestOutputHelper output)
|
||||
|
||||
t = new Thickness (-1, 1, 1, 1);
|
||||
r = new Rectangle (5, 5, 40, 15);
|
||||
top.SetNeedsDisplay ();
|
||||
top.SetNeedsDraw ();
|
||||
Application.RunIteration (ref rs);
|
||||
t.Draw (r, ViewDiagnosticFlags.Ruler, "Test");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user