@@ -40,49 +40,49 @@ const selectableShapes = [
4040 id : "triangleRightAngle" ,
4141 name : "Right Triangle" ,
4242 category : "shapes" ,
43- strokeWidth : 6 ,
43+ strokeWidth : .5 ,
4444 path : "M 1 1 L 8 8 L 1 8 L 1 1 Z"
4545 } ,
4646 {
4747 id : "chevronArrow" ,
4848 name : "Chevron Arrow" ,
4949 category : "shapes" ,
50- strokeWidth : 6 ,
50+ strokeWidth : .5 ,
5151 path : "M 0 0 L 4 0 L 6 3 L 4 6 L 0 6 L 2 3 Z"
5252 } ,
5353 {
5454 id : "pentagonArrow" ,
5555 name : "Pentagon Arrow" ,
5656 category : "shapes" ,
57- strokeWidth : 6 ,
57+ strokeWidth : .5 ,
5858 path : "M 0 0 L 4 0 L 6 3 L 4 6 L 0 6 Z"
5959 } ,
6060 {
6161 id : "trapezoid" ,
6262 name : "Trapezoid" ,
6363 category : "shapes" ,
64- strokeWidth : 6 ,
64+ strokeWidth : .75 ,
6565 path : "M 0 4 L 4 0 L 12 0 L 16 4 Z"
6666 } ,
6767 {
6868 id : "parallelogram" ,
6969 name : "Parallelogram" ,
7070 category : "shapes" ,
71- strokeWidth : 6 ,
71+ strokeWidth : .75 ,
7272 path : "M 0 4 L 4 0 L 12 0 L 8 4 Z"
7373 } ,
7474 {
7575 id : "kite" ,
7676 name : "Kite" ,
7777 category : "shapes" ,
78- strokeWidth : 6 ,
78+ strokeWidth : .75 ,
7979 path : "M 0 4 L 4 0 L 8 4 L 4 12 Z"
8080 } ,
8181 {
8282 id : "check" ,
8383 name : "Checkmark" ,
8484 category : "symbols" ,
85- strokeWidth : 11 ,
85+ strokeWidth : 12 ,
8686 path : "M165.25,196.6109l22.7173,-22.8612l30.6088,24.281l71.6857,-83.9057l24.4882,22.1844l-94.7184,109.5656z"
8787 } ,
8888 {
@@ -96,7 +96,7 @@ const selectableShapes = [
9696 id : "heart" ,
9797 name : "Heart" ,
9898 category : "symbols" ,
99- strokeWidth : 9 ,
99+ strokeWidth : 10 ,
100100 path : "M182.17524,160.22928c-0.06174,-6.9356 0.38429,-9.6077 2.28538,-13.6958c0.21863,-0.47017 0.44452,-0.93216 0.67758,-1.38588c0.041,-0.08369 0.0824,-0.16634 0.12422,-0.24792c0.8012,-1.56302 1.70465,-3.01791 2.69546,-4.36451c2.87826,-3.97624 6.46849,-7.08113 10.70447,-9.24389c4.19614,-2.14228 6.35284,-3.1423 13.00539,-3.25541c0.73674,-0.02848 1.47326,-0.03072 2.20779,-0.0067c5.51272,0.05908 7.5834,0.72925 10.6475,2.33132c5.98584,2.56127 11.11488,7.22077 14.1395,13.99129l1.33748,2.99387l1.33748,-2.99387c3.02461,-6.77051 8.15365,-11.43 14.13948,-13.99128c3.06411,-1.60208 5.13479,-2.27226 10.64753,-2.33133c0.73452,-0.02402 1.47103,-0.02178 2.20776,0.0067c6.65256,0.11311 8.80926,1.11313 13.0054,3.25541c4.23591,2.16272 7.8261,5.26755 10.70433,9.24371c0.99086,1.34665 1.89437,2.8016 2.6956,4.36469c0.04183,0.08159 0.08324,0.16426 0.12425,0.24797c0.23305,0.45371 0.45893,0.91567 0.67755,1.38583c1.90109,4.0881 2.34712,6.7602 2.28538,13.6958c-0.00127,0.14305 -0.00303,0.28572 -0.00528,0.42802c0.10329,5.40072 -0.53917,10.86793 -1.9823,14.87168c-3.9932,11.0782 -11.61727,19.5239 -29.30813,32.466c-11.60195,8.4878 -24.70011,21.3299 -25.60268,23.1336c-0.49,0.97911 -1.36275,0.97911 -1.85275,0c-0.90257,-1.8037 -14.00072,-14.6458 -25.60268,-23.1336c-17.69086,-12.9421 -25.31493,-21.3878 -29.30813,-32.466c-1.44313,-4.00376 -2.0856,-9.47098 -1.9823,-14.87171c-0.00225,-0.14229 -0.004,-0.28495 -0.00528,-0.42799z"
101101 } ,
102102 {
@@ -110,28 +110,28 @@ const selectableShapes = [
110110 id : "smile" ,
111111 name : "Smile" ,
112112 category : "symbols" ,
113- strokeWidth : 3 ,
113+ strokeWidth : 2.5 ,
114114 path : "M218.60708,180c0,-11.81499 9.57794,-21.39292 21.39292,-21.39292c11.81499,0 21.39292,9.57794 21.39292,21.39292c0,11.81499 -9.57794,21.39293 -21.39292,21.39293c-11.81499,0 -21.39292,-9.57794 -21.39292,-21.39293zM239.89701,196.60775c14.70959,0.07281 16.22782,-13.7612 16.22782,-13.7612h-31.54689c0,0 1.12947,13.69096 15.31907,13.7612zM247.80316,176.22994c1.59793,0 2.8933,-1.29538 2.8933,-2.8933c0,-1.59793 -1.29538,-2.8933 -2.8933,-2.8933c-1.59793,0 -2.8933,1.29538 -2.8933,2.8933c0,1.59793 1.29538,2.8933 2.8933,2.8933zM232.19685,176.22994c1.59793,0 2.8933,-1.29538 2.8933,-2.8933c0,-1.59793 -1.29538,-2.8933 -2.8933,-2.8933c-1.59793,0 -2.8933,1.29538 -2.8933,2.8933c0,1.59793 1.29538,2.8933 2.8933,2.8933z"
115115 } ,
116116 {
117117 id : "frown" ,
118118 name : "Frown" ,
119119 category : "symbols" ,
120- strokeWidth : 3 ,
120+ strokeWidth : 2.5 ,
121121 path : "M218.60708,180c0,-11.81499 9.57794,-21.39292 21.39292,-21.39292c11.81499,0 21.39293,9.57794 21.39293,21.39292c0,11.81499 -9.57794,21.39292 -21.39293,21.39292c-11.81498,0 -21.39292,-9.57794 -21.39292,-21.39292zM247.80316,176.22993c1.59793,0 2.89331,-1.29538 2.89331,-2.8933c0,-1.59793 -1.29537,-2.89331 -2.89331,-2.89331c-1.59793,0 -2.8933,1.29538 -2.8933,2.89331c0,1.59793 1.29537,2.8933 2.8933,2.8933zM232.19685,176.22993c1.59793,0 2.8933,-1.29538 2.8933,-2.8933c0,-1.59793 -1.29538,-2.89331 -2.8933,-2.89331c-1.59793,0 -2.8933,1.29538 -2.8933,2.89331c0,1.59793 1.29538,2.8933 2.8933,2.8933zM226.26564,193.49228h28.1715c0,0 -1.35578,-10.96285 -14.49151,-10.90515c-12.67137,0.05566 -13.67999,10.90515 -13.67999,10.90515z"
122122 } ,
123123 {
124124 id : "person" ,
125125 name : "Person" ,
126126 category : "symbols" ,
127- strokeWidth : 6 ,
128- path : "M 0 0 A 1 1 0 0 0 3 0 A 1 1 0 0 0 0 0 Z M -1 4 A 1 1 0 0 1 4 4 Z"
127+ strokeWidth : .5 ,
128+ path : "M 1.3 0 A 1 1 0 0 0 4. 3 0 A 1 1 0 0 0 1.3 0 Z M 0.3 4 A 1 1 0 0 1 5.3 4 Z"
129129 } ,
130130 {
131131 id : "sun" ,
132132 name : "Sun" ,
133133 category : "symbols" ,
134- strokeWidth : 4 ,
134+ strokeWidth : 10 ,
135135 path : "M 208.8889 180 C 208.8889 162.8178 222.8178 148.8889 240 148.8889 C 257.1822 148.8889 271.1111 162.8178 271.1111 180 C 271.1111 197.1822 257.1822 211.1111 240 211.1111 C 222.8178 211.1111 208.8889 197.1822 208.8889 180 Z M 240 140.981 C 236.007 140.981 232.77 137.3993 232.77 132.981 V 98.1516 C 232.77 93.7333 236.007 90.1516 240 90.1516 V 90.1516 C 243.993 90.1516 247.23 93.7333 247.23 98.1516 V 132.981 C 247.23 137.3993 243.993 140.981 240 140.981 Z M 240 218.9805 C 243.993 218.9805 247.23 222.5622 247.23 226.9805 V 261.8099 C 247.23 266.2281 243.993 269.8099 240 269.8099 V 269.8099 C 236.007 269.8099 232.77 266.2281 232.77 261.8099 V 226.9805 C 232.77 222.5622 236.007 218.9805 240 218.9805 Z M 201.0003 179.9807 C 201.0003 183.9738 197.4186 187.2108 193.0003 187.2108 H 158.1709 C 153.7526 187.2108 150.1709 183.9738 150.1709 179.9807 V 179.9807 C 150.1709 175.9877 153.7526 172.7507 158.1709 172.7507 H 193.0003 C 197.4186 172.7507 201.0003 175.9877 201.0003 179.9807 Z M 278.9997 179.9807 C 278.9997 175.9877 282.5815 172.7507 286.9997 172.7507 H 321.8291 C 326.2474 172.7507 329.8291 175.9877 329.8291 179.9807 V 179.9807 C 329.8291 183.9738 326.2474 187.2108 321.8291 187.2108 H 286.9997 C 282.5815 187.2108 278.9997 183.9738 278.9997 179.9807 Z M 212.423 152.4038 C 209.5995 155.2273 204.778 154.9835 201.6538 151.8593 L 177.0257 127.2312 C 173.9015 124.107 173.6577 119.2855 176.4812 116.4619 V 116.4619 C 179.3047 113.6384 184.1263 113.8822 187.2505 117.0064 L 211.8786 141.6345 C 215.0028 144.7587 215.2465 149.5802 212.423 152.4038 Z M 267.577 207.5577 C 270.4005 204.7342 275.222 204.9779 278.3462 208.1021 L 302.9743 232.7302 C 306.0985 235.8544 306.3423 240.676 303.5188 243.4995 V 243.4995 C 300.6953 246.323 295.8737 246.0793 292.7495 242.9551 L 268.1214 218.327 C 264.9972 215.2028 264.7535 210.3812 267.577 207.5577 Z M 212.423 207.5577 C 215.2465 210.3812 215.0028 215.2028 211.8786 218.327 L 187.2505 242.9551 C 184.1263 246.0793 179.3047 246.323 176.4812 243.4995 V 243.4995 C 173.6577 240.676 173.9015 235.8544 177.0257 232.7302 L 201.6538 208.1021 C 204.778 204.9779 209.5995 204.7342 212.423 207.5577 Z M 267.577 152.4038 C 264.7535 149.5803 264.9972 144.7587 268.1214 141.6345 L 292.7495 117.0064 C 295.8737 113.8822 300.6953 113.6384 303.5188 116.462 V 116.462 C 306.3423 119.2855 306.0985 124.107 302.9743 127.2312 L 278.3462 151.8593 C 275.222 154.9835 270.4005 155.2273 267.577 152.4038 Z"
136136 } ,
137137 {
@@ -145,28 +145,28 @@ const selectableShapes = [
145145 id : "musicNote" ,
146146 name : "Slanted Beamed Note" ,
147147 category : "symbols" ,
148- strokeWidth : 5 ,
148+ strokeWidth : 2 ,
149149 path : "M 13.3 6.7 L 36.9 0.9 L 36.9 28.2 A 1 0.84 0 0 1 24.2 28.2 Q 24.3 23.6 29.2 22.4 Q 33 21.6 34.7 23.6 L 34.7 9.2 L 15.6 13.9 L 15.6 33.8 A 1 0.8 0 0 1 2.8 33.4 Q 2.9 28.8 8.2 27.6 Q 11.3 26.8 13.3 28.9 Z"
150150 } ,
151151 {
152152 id : "musicNote2" ,
153153 name : "Eighth Note" ,
154154 category : "symbols" ,
155- strokeWidth : 5 ,
155+ strokeWidth : 2 ,
156156 path : "M 21 0.8 Q 30.9 1.2 30 10.5 Q 29.6 16.1 33.8 18.3 Q 29.1 17.2 27.2 12 Q 24.9 5.9 22.6 5.5 L 22.6 34.9 A 1 0.75 4 0 1 8.9 33.4 Q 9.5 27.9 15.9 27.4 Q 20 27.3 21 29.4 Z"
157157 } ,
158158 {
159159 id : "musicNote3" ,
160160 name : "Treble Clef" ,
161161 category : "symbols" ,
162- strokeWidth : 4 ,
162+ strokeWidth : 1 ,
163163 path : "M 19.2 37.3 A 1 1 0 0 0 18.1 32.5 Q 15.2 33.3 16.6 36.5 Q 17.9 38.9 20.5 38.7 Q 24.4 38.5 24.7 34.4 Q 24.8 32.9 23.9 29.6 Q 27.8 27.5 27.1 23 Q 26.3 19 21.6 18.7 L 20.8 15.5 Q 25.7 9.6 24.4 4.2 Q 22.4 -1.3 19.4 2.9 Q 17.2 6.2 18.9 12.6 Q 13 17.9 13.1 22.5 Q 13.3 28.9 21 30.2 Q 21.8 30.3 22.5 30.1 Q 25 38.4 19.2 37.3 Z M 22.2 21.9 Q 25.3 22.4 24.9 25.7 Q 24.7 27.5 23.6 28 Z M 20 11.6 Q 18.9 4.8 22.7 4.5 Q 23.7 8.4 20 11.6 Z M 20.8 27.6 Q 18.9 26 19.3 23.9 Q 19.6 22.7 20.9 22 L 22.3 28.6 Q 19.1 29.3 16.9 26.9 Q 14.5 23.7 16.3 20.5 Q 17.8 18.2 19.7 16.7 L 20.3 19.1 Q 16.9 21 17 23.9 Q 17.3 27.5 20.8 27.6 Z"
164164 } ,
165165 {
166166 id : "sussy" ,
167167 name : "Sussy" ,
168168 category : "symbols" ,
169- strokeWidth : 14 ,
169+ strokeWidth : 16 ,
170170 path : "m 77 0 h 28 a 20 20 0 0 1 20 20 v 0 a 20 20 0 0 1 -20 20 V 40 H 77 V 112 A 1 1 0 0 1 42 111 A 1 1 0 0 0 16 112 A 1 1 0 0 1 -18 111 V 74 H -29 C -35 74 -36 73 -36 67 V 5 C -36 -1 -35 -2 -29 -2 H -18 A 1 1 0 0 1 76 0"
171171 } ,
172172 {
@@ -180,63 +180,63 @@ const selectableShapes = [
180180 id : "gear" ,
181181 name : "Gear" ,
182182 category : "objects" ,
183- strokeWidth : 6 ,
183+ strokeWidth : 16 ,
184184 path : "M355.56099,206.36652c-2.17425,0.17536 -4.04645,1.55018 -4.8852,3.55905l-11.25255,27.1569c-0.83875,2.00887 -0.46805,4.31979 0.9361,5.96795l22.3104,26.09412c3.66639,4.29046 3.43237,10.68715 -0.57539,14.69491l-18.25396,18.25396c-3.99777,3.99777 -10.40445,4.24178 -14.69491,0.5654l-26.09412,-22.3104c-1.63818,-1.40415 -3.95908,-1.77485 -5.95797,-0.9361l-27.16626,11.25255c-2.00887,0.83875 -3.38369,2.72093 -3.55905,4.89518l-2.66227,34.20699c-0.43872,5.63657 -5.13857,9.99506 -10.79449,9.99506h-25.82077c-5.65592,0 -10.35577,-4.35911 -10.79449,-9.99506l-2.67163,-34.20699c-0.166,-2.17487 -1.54082,-4.05644 -3.54969,-4.89518l-27.16626,-11.25255c-2.00887,-0.83875 -4.31043,-0.46805 -5.96795,0.9361l-26.08413,22.3104c-4.29046,3.67638 -10.68715,3.43237 -14.69491,-0.5654l-18.25396,-18.25396c-3.99777,-4.00776 -4.24178,-10.40445 -0.57539,-14.69491l22.3104,-26.09412c1.40415,-1.64816 1.77485,-3.95908 0.9361,-5.96795l-11.25255,-27.1569c-0.8194,-2.00887 -2.72093,-3.38369 -4.87584,-3.55905l-34.22633,-2.66227c-5.63595,-0.43934 -9.98507,-5.14855 -9.98507,-10.80447v-25.81079c0,-5.65592 4.34912,-10.35577 9.98507,-10.80447l34.22571,-2.67038c2.15553,-0.166 4.05644,-1.53146 4.87584,-3.54969l11.25255,-27.1569c0.83875,-2.00887 0.46805,-4.30981 -0.9361,-5.95797l-22.3104,-26.09412c-3.66639,-4.30045 -3.42238,-10.69713 0.57539,-14.69491l18.25396,-18.25396c4.00776,-3.99777 10.40445,-4.25177 14.69491,-0.57539l26.08413,22.3104c1.65815,1.41414 3.95908,1.77485 5.96795,0.94609l27.16626,-11.26254c2.00887,-0.82876 3.38369,-2.72031 3.54969,-4.8852l2.67163,-34.20699c0.43872,-5.64593 5.13857,-9.99506 10.79449,-9.99506h25.82077c5.6553,0 10.35514,4.34912 10.79386,9.99319l2.66227,34.20699c0.17536,2.1549 1.55018,4.05644 3.55905,4.8852l27.16626,11.26254c1.99889,0.82876 4.30981,0.46805 5.95797,-0.94609l26.09412,-22.3104c4.29046,-3.67638 10.69713,-3.42238 14.69491,0.57539l18.25396,18.25396c4.00776,3.99777 4.24178,10.39446 0.57539,14.69491l-22.3104,26.09412c-1.4235,1.64816 -1.77485,3.9491 -0.9361,5.95797l11.25255,27.1569c0.83875,2.01886 2.71095,3.38369 4.8852,3.54969l34.21635,2.67163c5.63595,0.4487 9.98507,5.14855 9.98507,10.80447v25.82077c0,5.64593 -4.34912,10.35577 -9.98507,10.79449zM278.18542,218.18448c10.19975,-10.20911 15.81636,-23.76323 15.81636,-38.19478c0,-14.42157 -5.6166,-27.98566 -15.81636,-38.17543c-10.19975,-10.20974 -23.75386,-15.81636 -38.18542,-15.81636c-14.42219,0 -27.98566,5.60724 -38.18542,15.81636c-10.19975,10.18977 -15.81636,23.75386 -15.81636,38.17543c0,14.43155 5.6166,27.98566 15.81636,38.19478c10.19975,10.18977 23.76385,15.80637 38.18542,15.80637c14.43155,0 27.98566,-5.6166 38.18542,-15.80637z"
185185 } ,
186186 {
187187 id : "lightningBolt" ,
188188 name : "Lightning Bolt" ,
189189 category : "objects" ,
190- strokeWidth : 6 ,
190+ strokeWidth : 1 ,
191191 path : "M 3.787 2.769 L 10.034 0.384 L 12.03 5.879 L 11.019 6.423 L 14.077 11.348 L 12.729 11.892 L 16.177 19.927 L 9.204 13.163 L 10.811 12.54 L 6.457 8.238 L 8.349 7.357 Z"
192192 } ,
193193 {
194194 id : "lightningBolt2" ,
195195 name : "Bolt" ,
196196 category : "objects" ,
197- strokeWidth : 8 ,
197+ strokeWidth : 1 ,
198198 path : "M 6.327 0.618 L 14.129 0.618 L 11.122 7.434 L 14.233 7.434 L 6.379 19.539 L 7.857 9.767 L 4.694 9.767 Z"
199199 } ,
200200 {
201201 id : "cloud" ,
202202 name : "Cloud" ,
203203 category : "objects" ,
204- strokeWidth : 11 ,
204+ strokeWidth : 8 ,
205205 path : "M158.70156,190.30055c5.28613,-2.83052 11.70216,-2.80297 14.45107,-3.01001c1.11791,-2.76161 17.92516,-32.66635 39.60873,-32.32664c21.75534,0.41423 30.07396,15.16631 40.51872,23.33781c12.96693,-9.11314 22.14689,-12.62033 35.86057,-9.23745c12.88406,3.27521 19.41273,22.07303 19.93181,22.83242c0.25097,0.37125 7.32687,-4.86498 13.30369,-3.82602c7.68158,1.33529 10.15773,16.75568 8.47916,16.75568c-2.13284,0 -176.99884,-0.27065 -181.13536,0.21264c-4.02823,-3.61485 4.21405,-12.184 8.98161,-14.73843z"
206206 } ,
207207 {
208208 id : "cloud2" ,
209209 name : "Cloud 2" ,
210210 category : "objects" ,
211- strokeWidth : 8 ,
211+ strokeWidth : 4 ,
212212 path : "M 13 18 A 1 1 0 0 1 13 6 A 1 1 0 0 1 29 6 A 1 0.75 0 0 1 39 6 A 1 1 0 0 1 39 18 Z"
213213 } ,
214214 {
215215 id : "pinPush" ,
216216 name : "Push Pin" ,
217217 category : "objects" ,
218- strokeWidth : 7 ,
218+ strokeWidth : 1 ,
219219 path : "M 7.379 3.051 Q 7.143 0.48 10.139 0.406 Q 13.444 0.48 13.165 3.006 Q 12.915 3.741 12.005 4.064 L 12.152 7.722 Q 14.957 8.662 14.752 11.306 Q 14.472 13.829 10.051 13.803 Q 5.248 13.48 5.541 10.748 Q 5.615 8.706 8.068 7.531 L 8.318 3.917 Q 7.596 3.581 7.379 3.051 Z M 9.587 13.764 L 9.435 18.06 C 10.121 20.37 9.551 20.308 10.389 18.123 L 10.565 13.794 Q 10.046 13.828 9.587 13.764 Z"
220220 } ,
221221 {
222222 id : "bookmark" ,
223223 name : "Bookmark" ,
224224 category : "objects" ,
225- strokeWidth : 6 ,
225+ strokeWidth : 1 ,
226226 path : "M 0 0 L 8 0 L 8 12 L 4 8 L 0 12 Z"
227227 } ,
228228 {
229229 id : "note" ,
230230 name : "Note" ,
231231 category : "objects" ,
232- strokeWidth : 5 ,
232+ strokeWidth : . 5,
233233 path : "M 0 0 L 8 0 L 8 8 L 2 8 L 0 6 Z M 0 6 L 2 6 L 2 8 Z"
234234 } ,
235235 {
236236 id : "paper" ,
237237 name : "Paper" ,
238238 category : "objects" ,
239- strokeWidth : 6 ,
239+ strokeWidth : 40 ,
240240 path : "M 0 0 L 601 0 L 841 240 L 841 1190 L 0 1190 Z M 841 240 L 601 240 L 601 0 Z"
241241 } ,
242242 {
@@ -250,35 +250,35 @@ const selectableShapes = [
250250 id : "lock" ,
251251 name : "Lock" ,
252252 category : "objects" ,
253- strokeWidth : 6 ,
253+ strokeWidth : 1 ,
254254 path : "M 0.5 9 A 1 1 0 0 1 15.5 9 L 13.5 9 A 1 1 0 0 0 2.5 9 L 0.5 9 Z M 0 9 L 16 9 L 16 18 L 0 18 Z"
255255 } ,
256256 {
257257 id : "lockOpened" ,
258258 name : "Open Lock" ,
259259 category : "objects" ,
260- strokeWidth : 6 ,
260+ strokeWidth : 1 ,
261261 path : "M 0.5 6 A 1 1 0 0 1 15.5 6 L 15.5 9 L 13.5 9 L 13.5 6 A 1 1 0 0 0 2.5 6 L 0.5 6 Z M 0 9 L 16 9 L 16 18 L 0 18 Z"
262262 } ,
263263 {
264264 id : "inbox" ,
265265 name : "Inbox" ,
266266 category : "objects" ,
267- strokeWidth : 6 ,
267+ strokeWidth : .75 ,
268268 path : "M 0 0 L 4 0 L 6 1 L 10 1 L 12 0 L 16 0 L 16 3 L 0 3 L 0 0 L 3 -3 L 13 -3 L 16 0 L 12 0 L 10 1 L 6 1 L 4 0 Z"
269269 } ,
270270 {
271271 id : "speechBubble" ,
272272 name : "Speech Bubble" ,
273273 category : "speech" ,
274- strokeWidth : 5 ,
274+ strokeWidth : 6 ,
275275 path : "M204.14966,175.04472c-0.31482,-15.49173 8.58161,-20.45314 15.2824,-20.45314c8.15418,0 26.20534,-0.47063 40.10194,0c6.7857,0.22981 16.64329,5.37466 16.31655,20.45314c-0.30922,14.27018 -11.32079,18.61465 -16.43145,18.61465c-4.65217,0 -12.43125,0 -21.25748,0c-2.33362,0 -8.8706,12.31777 -19.5339,11.95015c-7.56289,-0.26073 4.2991,-11.95015 1.26396,-11.95015c-9.00032,0 -15.52291,-7.83267 -15.74202,-18.61465z"
276276 } ,
277277 {
278278 id : "thinkingBubble" ,
279279 name : "Thinking Bubble" ,
280280 category : "speech" ,
281- strokeWidth : 10 ,
281+ strokeWidth : 8 ,
282282 path : "M181.625,163.75c0,-9.03599 8.31115,-16.7148 19.88037,-19.50356c3.78813,-8.33365 14.94537,-14.37144 28.11963,-14.37144c10.60583,0 19.90445,3.91305 25.10344,9.78682c1.5942,-0.18873 3.22977,-0.28682 4.89656,-0.28682c7.20482,0 13.82617,1.83268 19.04507,4.89724c0.96891,-0.09722 1.95499,-0.14724 2.95493,-0.14724c13.66905,0 24.75,9.34606 24.75,20.875c0,6.80117 -3.85625,12.84269 -9.82521,16.65396c2.12223,2.1898 3.32521,4.69056 3.32521,7.34604c0,8.62945 -12.70392,15.625 -28.375,15.625c-5.79983,0 -11.19324,-0.9582 -15.68664,-2.60279c-5.37837,3.48673 -12.44651,5.60279 -20.18836,5.60279c-2.14277,0 -4.23392,-0.1621 -6.25193,-0.4705c0.00128,0.04563 0.00193,0.09136 0.00193,0.13717c0,4.55635 -6.37994,8.25 -14.25,8.25c-7.87006,0 -14.25,-3.69365 -14.25,-8.25c0,-1.85573 1.0583,-3.56835 2.84455,-4.9466c-12.33446,-0.48405 -22.09455,-6.7775 -22.09455,-14.47006c0,-4.13493 2.81999,-7.8656 7.34397,-10.50709c-4.57145,-3.63277 -7.34397,-8.39897 -7.34397,-13.61791zM202.125,220.66667c0,2.96853 -3.52576,5.375 -7.875,5.375c-4.34924,0 -7.875,-2.40647 -7.875,-5.375c0,-2.96853 3.52576,-5.375 7.875,-5.375c4.34924,0 7.875,2.40647 7.875,5.375zM183.375,226c0,2.27818 -2.18261,4.125 -4.875,4.125c-2.69239,0 -4.875,-1.84682 -4.875,-4.125c0,-2.27818 2.18261,-4.125 4.875,-4.125c2.69239,0 4.875,1.84682 4.875,4.125z"
283283 } ,
284284 {
@@ -292,42 +292,42 @@ const selectableShapes = [
292292 id : "squareBubble" ,
293293 name : "Square Bubble" ,
294294 category : "speech" ,
295- strokeWidth : 8 ,
295+ strokeWidth : 6 ,
296296 path : "M 189 156 C 189 152 192 149 201 149 L 280 149 C 288 149 291 152 291 156 L 291 190.1874 C 291 195 288 198 282.5854 198.259 L 237.8872 198.259 C 234.5436 198.259 225.1776 213.7976 209.8995 213.3339 C 199.0636 213.005 216.0591 198.259 211.7105 198.259 L 198 198.259 C 192 198 189 195 189 189.9301 Z"
297297 } ,
298298 {
299299 id : "codeblock" ,
300300 name : "Code Block" ,
301301 category : "blocks" ,
302- strokeWidth : 9 ,
302+ strokeWidth : 8 ,
303303 path : "M191.07407,156c0,-2.20914 1.79086,-4 4,-4h8c2,0 3,1 4,2l4,4c1,1 2,2 4,2h12c2,0 3,-1 4,-2l4,-4c1,-1 2,-2 4,-2h45.85186c2.20914,0 4,1.79086 4,4v40c0,2.20914 -1.79086,4 -4,4h-45.85186c-2,0 -3,1 -4,2l-4,4c-1,1 -2,2 -4,2h-12c-2,0 -3,-1 -4,-2l-4,-4c-1,-1 -2,-2 -4,-2h-8c-2.20914,0 -4,-1.79086 -4,-4z"
304304 } ,
305305 {
306306 id : "codeblockHat" ,
307307 name : "Hat Block" ,
308308 category : "blocks" ,
309- strokeWidth : 6 ,
309+ strokeWidth : 1 ,
310310 path : "M 0.54 2.093 C 3.214 -0.191 6.978 0.899 8.068 2.093 L 11.667 2.093 Q 11.851 2.076 11.949 2.297 L 11.949 5.526 Q 11.925 5.747 11.741 5.809 L 4.177 5.809 C 3.904 5.969 3.725 6.335 3.43 6.439 L 2.359 6.439 C 2.051 6.337 1.897 5.975 1.598 5.83 L 0.797 5.83 Q 0.588 5.708 0.548 5.563 Z"
311311 } ,
312312 {
313313 id : "codeblockEndCap" ,
314314 name : "End-Cap Block" ,
315315 category : "blocks" ,
316- strokeWidth : 6 ,
316+ strokeWidth : .5 ,
317317 path : "M 0.554 6.094 Q 0.584 5.901 0.777 5.824 L 1.602 5.824 C 1.892 5.98 2.04 6.333 2.358 6.442 L 3.409 6.446 C 3.748 6.361 3.847 5.966 4.203 5.824 L 6.289 5.824 Q 6.515 5.885 6.561 6.1 L 6.561 9.253 Q 6.521 9.502 6.283 9.569 L 0.837 9.569 Q 0.614 9.538 0.554 9.308 Z"
318318 } ,
319319 {
320320 id : "codeblockReporter" ,
321321 name : "Reporter Block" ,
322322 category : "blocks" ,
323- strokeWidth : 6 ,
323+ strokeWidth : .5 ,
324324 path : "M 11.864 6.638 L 15.403 6.644 C 17.396 6.894 17.338 9.532 15.403 9.765 L 11.864 9.77 C 10.045 9.643 9.778 6.905 11.864 6.638 Z"
325325 } ,
326326 {
327327 id : "codeblockBoolean" ,
328328 name : "Boolean Block" ,
329329 category : "blocks" ,
330- strokeWidth : 6 ,
330+ strokeWidth : .5 ,
331331 path : "M 11.967 13.517 L 16.615 13.509 L 18.188 15.076 L 16.615 16.642 L 11.967 16.635 L 10.393 15.076 Z"
332332 }
333333] ;
@@ -337,10 +337,10 @@ const selectablePaths = Object.fromEntries(
337337) ;
338338
339339const generateShapeSVG = ( shapeObj ) => {
340- if ( ! window . test && shapeObj . _cachedSVG ) return shapeObj . _cachedSVG ;
340+ if ( shapeObj . _cachedSVG ) return shapeObj . _cachedSVG ;
341341
342342 const strokeColor = "#575e75" ;
343- const strokeWidth = window . test ? window . test ( shapeObj ) : 1 ;
343+ const strokeWidth = shapeObj . strokeWidth ;
344344 const path = new paper . Path ( shapeObj . path ) ;
345345 const bounds = path . getBounds ( ) ;
346346 const viewbox = `${ bounds . x - strokeWidth } ${ bounds . y - strokeWidth } ${ bounds . width + ( strokeWidth * 2 ) } ${ bounds . height + ( strokeWidth * 2 ) } ` ;
0 commit comments