@@ -59,10 +59,10 @@ export default function CustomRenderer(eventBus, styles) {
5959 height = element . height ;
6060
6161 var trianglePath = [
62- [ 'M' , x + width / 2 , y ] ,
63- [ 'l' , width / 2 , height ] ,
64- [ 'l' , - width , 0 ] ,
65- [ 'z' ]
62+ [ 'M' , x + width / 2 , y ] ,
63+ [ 'l' , width / 2 , height ] ,
64+ [ 'l' , - width , 0 ] ,
65+ [ 'z' ]
6666 ] ;
6767
6868 return componentsToPath ( trianglePath ) ;
@@ -99,11 +99,11 @@ export default function CustomRenderer(eventBus, styles) {
9999 radius = shape . width / 2 ;
100100
101101 var circlePath = [
102- [ 'M' , cx , cy ] ,
103- [ 'm' , 0 , - radius ] ,
104- [ 'a' , radius , radius , 0 , 1 , 1 , 0 , 2 * radius ] ,
105- [ 'a' , radius , radius , 0 , 1 , 1 , 0 , - 2 * radius ] ,
106- [ 'z' ]
102+ [ 'M' , cx , cy ] ,
103+ [ 'm' , 0 , - radius ] ,
104+ [ 'a' , radius , radius , 0 , 1 , 1 , 0 , 2 * radius ] ,
105+ [ 'a' , radius , radius , 0 , 1 , 1 , 0 , - 2 * radius ] ,
106+ [ 'z' ]
107107 ] ;
108108
109109 return componentsToPath ( circlePath ) ;
@@ -124,12 +124,12 @@ export default function CustomRenderer(eventBus, styles) {
124124 } ) ;
125125
126126 var connectionPath = [
127- [ 'M' , waypoints [ 0 ] . x , waypoints [ 0 ] . y ]
127+ [ 'M' , waypoints [ 0 ] . x , waypoints [ 0 ] . y ]
128128 ] ;
129129
130130 waypoints . forEach ( function ( waypoint , index ) {
131131 if ( index !== 0 ) {
132- connectionPath . push ( [ 'L' , waypoint . x , waypoint . y ] ) ;
132+ connectionPath . push ( [ 'L' , waypoint . x , waypoint . y ] ) ;
133133 }
134134 } ) ;
135135
0 commit comments