소스 검색

fixed defaults of cap and join

flabbet 7 달 전
부모
커밋
7afc732391
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/PixiEditor.ChangeableDocument/Changes/Drawing/PreviewTransformSelected_UpdateableChange.cs

+ 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,