Remove outline ring from waypoint highlight permanently

The subtle size bump (24→28px) is sufficient visual feedback without
the outline ring.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-11 00:37:24 +02:00
parent 4853db27fc
commit c78a6f8bc9
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -18,7 +18,6 @@ function waypointIcon(index: number, overnight?: boolean, highlighted?: boolean)
const bg = overnight ? "#8B6D3A" : "#2563eb";
const size = highlighted ? 28 : 24;
const offset = size / 2;
const ring = "";
return L.divIcon({
className: "",
html: `<div style="
@ -28,7 +27,7 @@ function waypointIcon(index: number, overnight?: boolean, highlighted?: boolean)
font-size:12px;font-weight:600;
border:2px solid white;box-shadow:0 1px 4px rgba(0,0,0,0.3);
transform:translate(-${offset}px,-${offset}px);
${ring}transition:all 0.15s ease;
transition:all 0.15s ease;
">${overnight ? "" : index + 1}</div>`,
iconSize: [0, 0],
});