CatPtain commited on
Commit
33d87ed
·
verified ·
1 Parent(s): a32560b

Upload 2 files

Browse files
frontend/src/views/components/element/ShapeElement/BaseShapeElement.vue CHANGED
@@ -45,7 +45,7 @@
45
  :transform="`scale(${elementInfo.width / elementInfo.viewBox[0]}, ${elementInfo.height / elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`"
46
  >
47
  <path
48
- vector-effect="non-scaling-stroke"
49
  stroke-linecap="butt"
50
  stroke-miterlimit="8"
51
  :d="elementInfo.path"
 
45
  :transform="`scale(${elementInfo.width / elementInfo.viewBox[0]}, ${elementInfo.height / elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`"
46
  >
47
  <path
48
+ class="vector-path-element"
49
  stroke-linecap="butt"
50
  stroke-miterlimit="8"
51
  :d="elementInfo.path"
frontend/src/views/components/element/ShapeElement/index.vue CHANGED
@@ -54,10 +54,9 @@
54
  :transform="`scale(${elementInfo.width / elementInfo.viewBox[0]}, ${elementInfo.height / elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`"
55
  >
56
  <path
57
- class="shape-path"
58
- vector-effect="non-scaling-stroke"
59
- stroke-linecap="butt"
60
- stroke-miterlimit="8"
61
  :d="elementInfo.path"
62
  :fill="fill"
63
  :stroke="outlineColor"
 
54
  :transform="`scale(${elementInfo.width / elementInfo.viewBox[0]}, ${elementInfo.height / elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`"
55
  >
56
  <path
57
+ class="shape-path vector-path-element"
58
+ stroke-linecap="butt"
59
+ stroke-miterlimit="8"
 
60
  :d="elementInfo.path"
61
  :fill="fill"
62
  :stroke="outlineColor"