CODEX - Probably fixed the download buttons
This commit is contained in:
@@ -320,7 +320,6 @@ export default function PlaybackModal({ open, melody, builtMelody, files, archet
|
||||
<div className="space-y-4">
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="text-xs" style={mutedStyle}>{totalSteps} steps · {allBellsUsed.size} bell{allBellsUsed.size !== 1 ? "s" : ""}</span>
|
||||
{currentStep >= 0 && <span className="text-xs font-mono" style={{ color: "var(--accent)" }}>Step {currentStep + 1} / {totalSteps}</span>}
|
||||
</div>
|
||||
|
||||
{noteAssignments.length > 0 && (
|
||||
@@ -392,6 +391,21 @@ export default function PlaybackModal({ open, melody, builtMelody, files, archet
|
||||
<input type="checkbox" checked={loopEnabled} onChange={(e) => setLoopEnabled(e.target.checked)} className="h-3.5 w-3.5 rounded" />
|
||||
Loop
|
||||
</label>
|
||||
{currentStep >= 0 && (
|
||||
<div className="ml-auto min-w-[180px]">
|
||||
<div className="flex items-center justify-end gap-2">
|
||||
<span className="text-xs font-mono" style={{ color: "var(--accent)" }}>
|
||||
Step {currentStep + 1} / {totalSteps}
|
||||
</span>
|
||||
</div>
|
||||
<div className="mt-1 h-1.5 rounded-full" style={{ backgroundColor: "var(--bg-primary)", border: "1px solid var(--border-primary)" }}>
|
||||
<div
|
||||
className="h-full rounded-full"
|
||||
style={{ width: `${Math.max(0, Math.min(100, ((currentStep + 1) / totalSteps) * 100))}%`, backgroundColor: "var(--accent)" }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user