From fbbe2c933caffd97e31b399e6748d1434ecf432c Mon Sep 17 00:00:00 2001 From: 3dtours Date: Sat, 25 Jul 2026 09:58:23 +0700 Subject: [PATCH] docs: update wiki.md with latest changes --- wiki.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wiki.md b/wiki.md index 7c3863c..c094ec7 100644 --- a/wiki.md +++ b/wiki.md @@ -69,3 +69,7 @@ - **Các file ảnh hưởng:** `app/static/js/app.jsx` - **Ghi chú/Test (nếu có):** +### [2026-07-25 09:58] Task: Fix drag speed + bar numbers visibility + snap section items +- **Tóm tắt thay đổi:** (1) Xoá auto-follow phải (gây jump), chỉ giữ auto-follow trái 60px — scroll phải nhờ `autoScrollTimeline` mượt. (2) Thêm `PADDING_RIGHT` vào `tEnd` ở TempoTrackLane và WaveformLane — bar numbers + grid hiển thị đến sát rìa phải. (3) `if (localX < 0 || localX > drawWidth) continue;` — skip phần tử ngoài canvas. (4) Buffer 12 bars cho `maxDuration`. (5) Thêm `snapTime` vào section/MIDI item drag. (6) Thêm snap option `'4'` (1 bar). (7) Đồng bộ `PADDING_LEFT = barDuration` ở cả 2 lane. +- **Các file ảnh hưởng:** `app/static/js/app.jsx` +- **Ghi chú/Test (nếu có):** `npx babel app/static/js/app.jsx` — compile pass.