diff options
| author | dax <me@dax.ist> | 2026-08-04 09:48:55 +0000 |
|---|---|---|
| committer | dax <me@dax.ist> | 2026-08-04 09:48:55 +0000 |
| commit | d3d96b58bed27dc11124bdb27310524a84e1583f (patch) | |
| tree | 58b7985002fe5236e78624c1b9e591a47668b4ca /public/index.html | |
| parent | 0c2642df412cceba34a4981d066d157351a7d65f (diff) | |
pathways: chevrons only for free directions, fade while previewing, re-render nav on placement
- chevron is only drawn when the direction is not already occupied, so it
never overlaps a neighboring photo
- hovering a free direction adds a .preview class to the zone so the chevron
fades out while the ghost preview shows underneath it
- pointermove on an occupied direction early-returns (no ghost, no fade)
- refreshAllNav re-renders every tile's nav after a placement so stale chevrons
disappear as soon as a direction becomes occupied
Diffstat (limited to 'public/index.html')
| -rw-r--r-- | public/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/index.html b/public/index.html index 706de70..2263402 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="color-scheme" content="dark"> <title>pathways</title> - <link rel="stylesheet" href="/app.css?v=15"> + <link rel="stylesheet" href="/app.css?v=16"> </head> <body> <main id="stage"> @@ -16,6 +16,6 @@ <p>four paths, one per direction. walk them.</p> <button id="start">start</button> </div> - <script src="/app.js?v=15"></script> + <script src="/app.js?v=16"></script> </body> </html> |
