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:
@@ -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.
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user