Skip to content

Commit 379f6bc

Browse files
committed
Merge branch 'develop'
2 parents b9672af + 3b2897b commit 379f6bc

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

contact.png

2.47 KB
Loading

contact.svg

Lines changed: 1 addition & 1 deletion
Loading

src/sheets/core.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,23 @@ sheet.glyphs.set("piece-chariot", (canvas: SVGContainer) => {
740740
return group;
741741
});
742742

743+
sheet.glyphs.set("piece-cog", (canvas: SVGContainer) => {
744+
const group = canvas.symbol();
745+
const border = 2;
746+
group.path("M19.19 3.757A1 1 0 0018.22 3h-4.44a1 1 0 00-.97.757l-.66 2.644a1 1 0 01-.47.623l-1.291.747a1 1 0 01-.776.095l-2.62-.75a1 1 0 00-1.142.462l-2.219 3.844a1 1 0 00.171 1.219l1.96 1.895a1 1 0 01.305.719v1.49a1 1 0 01-.305.72l-1.96 1.894a1 1 0 00-.17 1.22l2.218 3.843a1 1 0 001.141.461l2.61-.746a1 1 0 01.793.106l.963.584a1 1 0 01.43.54l.984 2.95a1 1 0 00.949.683h4.558a1 1 0 00.949-.684l.982-2.947a1 1 0 01.435-.542l.982-.587a1 1 0 01.79-.103l2.59.745a1 1 0 001.142-.461l2.222-3.848a1 1 0 00-.166-1.214l-1.933-1.896a1 1 0 01-.3-.713v-1.5a1 1 0 01.3-.713l1.933-1.896a1 1 0 00.166-1.214l-2.222-3.848a1 1 0 00-1.142-.46l-2.6.747a1 1 0 01-.774-.093l-1.31-.75a1 1 0 01-.474-.625l-.66-2.64z")
747+
.attr("data-playerfill", true)
748+
.attr("data-context-border", true)
749+
.fill("#fff")
750+
.stroke({color: "#000", width: border, linejoin: "round"});
751+
group.circle(5)
752+
.center(16, 16)
753+
.attr("data-context-background", true)
754+
.fill("#000")
755+
.stroke("none")
756+
group.viewbox(2, 1, 29, 29);
757+
return group;
758+
});
759+
743760
sheet.glyphs.set("piece-horse", (canvas: SVGContainer) => {
744761
const group = canvas.symbol();
745762
const border = 5;

0 commit comments

Comments
 (0)