diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-15 11:38:56 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-15 11:38:56 +0100 |
| commit | 174b318c4f2a896f3d2d30bc5a7eee2b876e0369 (patch) | |
| tree | 9bd1e0e2808b8a587c18de9fb4c58e86dcc517d9 /src/effects/moving_ellipse_effect.cc | |
| parent | a0770029fbea6dbdaf9cc5b7e2a04ad82f5ea4c7 (diff) | |
fix(timeline-editor): align waveform and timeline tick positions
Waveform and timeline were using different width calculations, causing
beat markers and timeline ticks to misalign when BPM changed. Waveform
now uses same maxTime calculation as timeline (including sequence padding).
Also replaced magic constants (16, 0.4) with named constants for clarity:
- SEQUENCE_DEFAULT_DURATION = 16 beats
- WAVEFORM_AMPLITUDE_SCALE = 0.4
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/effects/moving_ellipse_effect.cc')
0 files changed, 0 insertions, 0 deletions
