Commit Graph

59 Commits

Author SHA1 Message Date
3dtours 8372ee1b98 feat: lead-in margin, 0-indexed bars, fix bar number clipping
- Add 1-bar lead-in margin at timeline start (bar 0, time 0s at margin edge)
- Playhead position includes lead-in offset
- Bar numbers now 0-indexed (0, 1, 2...) in ruler and track grid
- Fix bar number clipping: CLIP_BUFFER increased from 200px to
  max(400px, barWidth+200px) so bars past viewport edge render
- All mouse/time handlers account for lead-in margin (ruler, clip
  drag, section drag/resize, context menu, double-click)
- formatBeat returns 0-indexed bar
- Sub-tab ruler has leadInMargin=0 (no lead-in in clip editor)
2026-07-25 10:25:30 +07:00
3dtours ff44fd4b8d feat: merge tempo bar + timebar into beat-based TimelineRuler
Replace old seconds-based ruler (0.00s, 1.00s...) and TempoTrackLane
with unified 48px canvas ruler showing bar:beat grid lines, snap
sub-ticks, and BPM label. WaveformLane grid aligns with ruler
positions — items snap to same beat grid visually.
2026-07-25 10:12:59 +07:00
3dtours fbbe2c933c docs: update wiki.md with latest changes 2026-07-25 09:58:23 +07:00
3dtours e5a563d343 fix: TempoTrackLane reads scrollLeft from DOM instead of React prop 2026-07-25 09:30:42 +07:00
3dtours 6aed5e2ec8 fix: sync bar ruler redraw during drag via canvasRedrawCount 2026-07-25 09:24:31 +07:00
3dtours f1057ab7f2 feat: auto-follow dragged item in viewport for clip/section/MIDI drag and resize 2026-07-25 09:21:19 +07:00
3dtours aa63a310fc fix: brush velocity isolation from CC lane + AGENTs.md compliance 2026-07-25 09:18:41 +07:00
3dtours c5c3ec19cc chore: update wiki.md for velocity/redraw fix 2026-07-25 08:08:51 +07:00
3dtours b04a76ebfb fix: piano roll zoom/scroll + AI copilot + SF cache + auto-scroll drag 2026-07-25 07:37:27 +07:00