Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -126,7 +126,7 @@
|
|
| 126 |
ctx.translate(currentT.x, currentT.y); ctx.scale(currentT.k, currentT.k);
|
| 127 |
ctx.beginPath(); path({type:'FeatureCollection', features:countries});
|
| 128 |
ctx.fillStyle=getComputedStyle(document.documentElement).getPropertyValue('--country'); ctx.fill();
|
| 129 |
-
ctx.strokeStyle=getComputedStyle(document.documentElement).getPropertyValue('--stroke'); ctx.lineWidth=.
|
| 130 |
if(hovered){ ctx.beginPath(); path(hovered); ctx.fillStyle=getComputedStyle(document.documentElement).getPropertyValue('--country-hover'); ctx.fill(); }
|
| 131 |
if(selected){ ctx.beginPath(); path(selected); ctx.fillStyle=getComputedStyle(document.documentElement).getPropertyValue('--country-selected'); ctx.fill(); }
|
| 132 |
ctx.restore();
|
|
|
|
| 126 |
ctx.translate(currentT.x, currentT.y); ctx.scale(currentT.k, currentT.k);
|
| 127 |
ctx.beginPath(); path({type:'FeatureCollection', features:countries});
|
| 128 |
ctx.fillStyle=getComputedStyle(document.documentElement).getPropertyValue('--country'); ctx.fill();
|
| 129 |
+
ctx.strokeStyle=getComputedStyle(document.documentElement).getPropertyValue('--stroke'); ctx.lineWidth = .25; ctx.stroke();
|
| 130 |
if(hovered){ ctx.beginPath(); path(hovered); ctx.fillStyle=getComputedStyle(document.documentElement).getPropertyValue('--country-hover'); ctx.fill(); }
|
| 131 |
if(selected){ ctx.beginPath(); path(selected); ctx.fillStyle=getComputedStyle(document.documentElement).getPropertyValue('--country-selected'); ctx.fill(); }
|
| 132 |
ctx.restore();
|