Przeglądaj źródła

fixed defaults of cap and join

flabbet 7 miesięcy temu
rodzic
commit
7afc732391

+ 2 - 2
src/PixiEditor.ChangeableDocument/Changes/Drawing/PreviewTransformSelected_UpdateableChange.cs

@@ -304,10 +304,10 @@ internal class PreviewTransformSelected_UpdateableChange : InterruptableUpdateab
                 {
                     StrokeCap cap = vectorNode.ShapeData is PathVectorData pathData
                         ? pathData.StrokeLineCap
-                        : StrokeCap.Round;
+                        : StrokeCap.Butt;
                     StrokeJoin join = vectorNode.ShapeData is PathVectorData pathData1
                         ? pathData1.StrokeLineJoin
-                        : StrokeJoin.Round;
+                        : StrokeJoin.Miter;
                     vectorNode.ShapeData = new PathVectorData(newPath)
                     {
                         Fill = vectorNode.ShapeData.Fill,