mirror of
https://github.com/9x/sheetmusictrainer.git
synced 2026-11-03 22:03:54 +01:00
Remove Note Set dropdown + legacy fret-range block; fix pendulum transition
- Note Set dropdown and custom-fret Fret Range inputs removed from Controls: the unified target-note filter (strings + fret window + key) fully supersedes them; difficulty stays as internal default (clef/transpose resolution) but is no longer user-facing. - Pendulum: drop the beat-parity key that remounted the dot each beat (killed the CSS transition); the same element now glides left<->right.
This commit is contained in:
@@ -72,7 +72,7 @@ export const MetronomeWidget: React.FC<MetronomeWidgetProps> = ({
|
||||
|
||||
{rhythm.active && (
|
||||
<div className="rhythm-details" style={{ display: 'flex', flexDirection: 'column', gap: '6px', paddingTop: '8px', borderTop: '1px solid rgba(255,255,255,0.1)' }}>
|
||||
{/* Linear pendulum */}
|
||||
{/* Linear pendulum — same element, left transitions each beat */}
|
||||
<div
|
||||
style={{
|
||||
position: 'relative',
|
||||
@@ -84,7 +84,6 @@ export const MetronomeWidget: React.FC<MetronomeWidgetProps> = ({
|
||||
aria-hidden
|
||||
>
|
||||
<div
|
||||
key={beatParity}
|
||||
style={{
|
||||
position: 'absolute',
|
||||
top: '50%',
|
||||
|
||||
Reference in New Issue
Block a user