diff options
| author | dax <me@dax.ist> | 2026-08-04 20:13:11 +0100 |
|---|---|---|
| committer | dax <me@dax.ist> | 2026-08-04 20:13:11 +0100 |
| commit | 0af9a4ce1167c6abb0492d15a2fd749d05885248 (patch) | |
| tree | 17932b37f0c107246a5bd4067eb7ffe59ce02ac2 /public/app.js | |
| parent | 815a0d1b4b71e12512cef5a8f59aa9d454d779d7 (diff) | |
fix preview flicker: hide only best-dir preview when ghost shows, keep dropzones hit-testable
Diffstat (limited to 'public/app.js')
| -rw-r--r-- | public/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/app.js b/public/app.js index 780bc98..cab053e 100644 --- a/public/app.js +++ b/public/app.js @@ -359,7 +359,7 @@ function setPreviewHidden(hidden) { ghostVisible = hidden if (!cur) return const entry = zones.get(cur.id) - if (entry) for (const z of entry.els) z.classList.toggle("hidden", hidden) + if (entry) entry.prevEl.classList.toggle("hide", hidden) } function showGhost(p) { if (!p) return |
