Skip to content

Commit 06dd395

Browse files
committed
stroke
1 parent e710f9b commit 06dd395

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pano-icon.css

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pano-icon {
1717
position: relative;
1818
display: block;
1919
path {
20+
stroke: rgba(0, 0, 0, 0.75);
2021
fill: dodgerblue;
2122
.leaflet-marker-icon.active & { fill: orange; }
2223
}

pano-icon.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ function createIcon() {
5959
svg.setAttribute("width", SIZE);
6060
svg.setAttribute("height", SIZE);
6161
let path = document.createElementNS(SVGNS, "path");
62-
const R1 = SIZE/2;
62+
path.setAttribute("transform", "translate(1 1)");
63+
const R1 = SIZE/2 - 1;
6364
const R2 = R1 - 6;
6465
path.setAttribute("d", `
6566
M ${0} ${R1}

0 commit comments

Comments
 (0)