fix: group drag moves all items, clamp to track 0, auto-add track

Restore multiIds cross-track move for all selected items.
Clamp targetTrackId to first track. Auto-add new track via
addNewTrack() when dragging below the last track.
This commit is contained in:
2026-07-29 10:47:53 +07:00
parent 9869566d3e
commit e99bc8624f
3 changed files with 27 additions and 12 deletions
+6
View File
@@ -724,3 +724,9 @@
- **Các file ảnh hưởng:** `app/static/js/app.jsx`
- **Ghi chú/Test (nếu có):** `npm run build` — build passes.
---
### [2026-07-29 10:48] Task: Fix group drag — all items move, clamp to track 0, auto-add track
- **Tóm tắt thay đổi:** Restore group drag: tất cả selected items di chuyển cùng nhau. Thêm clamp targetTrackId về track đầu tiên (0). Auto-add track mới khi kéo xuống dưới track cuối cùng.
- **Các file ảnh hưởng:** `app/static/js/app.jsx`
- **Ghi chú/Test (nếu có):** `npm run build` — build passes.
---