changed indicators on the Playback/SpeedCalc modals
This commit is contained in:
@@ -357,9 +357,9 @@ export default function PlaybackModal({ open, melody, builtMelody, files, archet
|
||||
<p className="text-xs mb-2" style={mutedStyle}>Note → Assigned Bell</p>
|
||||
<div className="flex flex-wrap gap-1.5">
|
||||
{noteAssignments.map((assignedBell, noteIdx) => {
|
||||
// A note is active if the current step has this note's bit set (raw archetype value)
|
||||
const isActive = currentStep >= 0 && Boolean(steps[currentStep] & (1 << noteIdx));
|
||||
// A note is active (flashing) if its assigned bell is currently lit in activeBells
|
||||
const firesABell = assignedBell && assignedBell > 0;
|
||||
const isActive = firesABell && activeBells.has(assignedBell);
|
||||
return (
|
||||
<div
|
||||
key={noteIdx}
|
||||
|
||||
Reference in New Issue
Block a user