diff options
| author | dax <me@dax.ist> | 2026-08-04 10:16:37 +0000 |
|---|---|---|
| committer | dax <me@dax.ist> | 2026-08-04 10:16:37 +0000 |
| commit | 8f9b940b875ee854a293c862405dc38ea8b643ff (patch) | |
| tree | 67c5b8f98eb1223728c652284ce735be3d490fe2 /public/app.js | |
| parent | 6261bf6fcd96a9c4380f2361a79afdae840d0aaa (diff) | |
pathways: glowing edge segments only appear on hover; drop the preview fade
the edge marker is drawn on the tile and the ghost renders in the gap, so
they never overlap - there is no reason to fade the edge while previewing,
and the .preview class was making the edge vanish exactly when hovered. edges
are now invisible at rest and glow at full strength on hover.
Diffstat (limited to 'public/app.js')
| -rw-r--r-- | public/app.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/public/app.js b/public/app.js index 5034348..800a822 100644 --- a/public/app.js +++ b/public/app.js @@ -205,12 +205,10 @@ function renderNav(id) { zone.className = `nav-zone nav-zone-${ex.dir}` zone.addEventListener("pointermove", () => { if (adjacentTile(id, ex.dir)) return - zone.classList.add("preview") cancelHideGhost() showGhost(choosePlacement(id, ex.dir)) }) zone.addEventListener("pointerleave", () => { - zone.classList.remove("preview") scheduleHideGhost() }) zone.addEventListener("pointerdown", (e) => e.stopPropagation()) |
