fix: maintain item duration in bars when BPM changes
- Add length_bars field to midiItems and sections at creation - useEffect on bpm recalculates duration = length_bars * secondsPerBar - Fix section creation: use secondsPerBar instead of hardcoded 4s - Handle existing items without length_bars (no-op)
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user