Fix playlist freeze: self-healing drag guard + identity-based row actions

A lost dragend (dragged node removed from the DOM) left dragFrom/cueDragging
stuck, permanently deferring renderPlaylist: the list stopped redrawing and
row buttons acted on stale indexes (delete/play appeared dead). The guard now
unlocks itself when no .dragging element exists, and row actions resolve the
track index at click time by object identity.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
lucianoandClaude Fable 5 committed 2026-08-05 14:52:14 +02:00
1 parent b04fe01a1a
commit e89213b8f9
2 files changed
+25 -8

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dj-visualizer",
"version": "1.7.1",
"version": "1.7.2",
"description": "Audio-reactive fractal & abstract visualizer for external display (Mac)",
"main": "main.js",
"author": {