2
0
Brandon Thetford 1 жил өмнө
parent
commit
e7fdd4c5a1

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

@@ -4,7 +4,7 @@ namespace Terminal.Gui;
 /// <summary>Facilitates box drawing and line intersection detection and rendering.  Does not support diagonal lines.</summary>
 public class LineCanvas : IDisposable
 {
-    private readonly List<StraightLine> _lines = new ();
+    private readonly List<StraightLine> _lines = [];
 
     private readonly Dictionary<IntersectionRuneType, IntersectionRuneResolver> runeResolvers = new ()
     {