We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d25f5 commit 0799071Copy full SHA for 0799071
1 file changed
LightVector/WpfVectorRenderer.cs
@@ -16,6 +16,7 @@
16
using System.Windows.Media;
17
using System.Windows.Media.Imaging;
18
using System.Windows.Shapes;
19
+using ExtendedSystemObjects;
20
using LightVector.Enums;
21
using LightVector.Interfaces;
22
@@ -48,7 +49,7 @@ public object RenderToContainer()
48
49
var canvas = new Canvas();
50
51
// If no objects, return an empty 0x0 canvas
- if (!_vectorObjects.Any()) return canvas;
52
+ if (!_vectorObjects.AnyFast()) return canvas;
53
54
var minX = double.MaxValue;
55
var minY = double.MaxValue;
0 commit comments