diff --git a/site/src/components/Explore.svelte b/site/src/components/Explore.svelte index 031fde9..45dba17 100644 --- a/site/src/components/Explore.svelte +++ b/site/src/components/Explore.svelte @@ -153,7 +153,7 @@ function _updateHeatPaint(width: number, opacityPct: number) { if (!map) return; const p = _heatPaint(width, opacityPct); - for (const id of ['explore-heat-global', ...HEAT_TYPES.map(t => `explore-heat-${t}`)]) { + for (const id of ['explore-lines', 'explore-heat-global', ...HEAT_TYPES.map(t => `explore-heat-${t}`)]) { if (!map.getLayer(id)) continue; map.setPaintProperty(id, 'line-width', p['line-width']); map.setPaintProperty(id, 'line-opacity', p['line-opacity']); @@ -324,17 +324,17 @@ -
- Width - - {heatWidth} -
-
- Opacity - - {heatOpacityPct}% -
{/if} +
+ Width + + {heatWidth} +
+
+ Opacity + + {heatOpacityPct}% +