Skip to content

Commit 32d69a8

Browse files
committed
Yinyang: Tweak border size
1 parent a029172 commit 32d69a8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

contact.png

66 Bytes
Loading

contact.svg

Lines changed: 1 addition & 1 deletion
Loading

src/sheets/core.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,6 +1431,11 @@ sheet.glyphs.set("x", (canvas: SVGContainer) => {
14311431

14321432
sheet.glyphs.set("yinyang", (canvas: SVGContainer) => {
14331433
const symbol = canvas.symbol();
1434+
symbol.circle(63)
1435+
.attr("data-context-border", true)
1436+
.fill("none")
1437+
.stroke({width: 4, color: "#000"})
1438+
.center(32, 32);
14341439
symbol.path("M53.2 10.8c11.7 11.7 11.7 30.7 0 42.4c-5.9 5.9-15.4 5.9-21.2 0S26.1 37.9 32 32c5.9-5.9 5.9-15.4 0-21.2s-15.4-5.9-21.2 0C22.5-.9 41.5-.9 53.2 10.8")
14351440
.fill("#fff")
14361441
.attr("data-playerfill", true);
@@ -1445,12 +1450,7 @@ sheet.glyphs.set("yinyang", (canvas: SVGContainer) => {
14451450
.center(21.4, 21.4)
14461451
.fill("#fff")
14471452
.attr("data-playerfill", true);
1448-
symbol.circle(64)
1449-
.attr("data-context-border", true)
1450-
.fill("none")
1451-
.stroke({width: 5, color: "#000"})
1452-
.center(32, 32);
1453-
symbol.viewbox(-2.5, -2.5, 69, 69);
1453+
symbol.viewbox(-2, -2, 68, 68);
14541454
return symbol;
14551455
});
14561456

0 commit comments

Comments
 (0)