Overview
The trim control shows time in raw seconds (e.g., 65.5). Displaying as 01:05.5 (MM:SS.d) is much more user-friendly.
Task
In src/components/TrimControl.tsx, add a helper function:
function formatTime(seconds: number): string {
const m = Math.floor(seconds / 60)
const s = (seconds % 60).toFixed(1)
return `${String(m).padStart(2, '0')}:${String(s).padStart(4, '0')}`
}
Use this to display the duration and current trim values.
Acceptance Criteria
Good first issue — estimated effort: 30 minutes
Overview
The trim control shows time in raw seconds (e.g.,
65.5). Displaying as01:05.5(MM:SS.d) is much more user-friendly.Task
In
src/components/TrimControl.tsx, add a helper function:Use this to display the duration and current trim values.
Acceptance Criteria
Good first issue — estimated effort: 30 minutes