diff --git a/src/components/Controls.tsx b/src/components/Controls.tsx index 6b5390e..6718a29 100644 --- a/src/components/Controls.tsx +++ b/src/components/Controls.tsx @@ -1,4 +1,4 @@ -import { Settings, Guitar, Music, Gauge } from 'lucide-react'; +import { Guitar, Music, Gauge } from 'lucide-react'; import { TUNINGS, INSTRUMENT_TUNINGS } from '../music/Tunings'; import { INSTRUMENT_DEFINITIONS } from '../music/InstrumentConfigs'; @@ -19,10 +19,6 @@ export const Controls: React.FC = ({ currentPitch }) => { const { settings, updateSettings } = useSettings(); // Alias to minimize refactor, or just use updateSettings. const onUpdateSettings = updateSettings; - const handleDifficultyChange = (e: React.ChangeEvent) => { - onUpdateSettings({ ...settings, difficulty: e.target.value as Difficulty }); - }; - const handleTuningChange = (e: React.ChangeEvent) => { onUpdateSettings({ ...settings, tuningId: e.target.value }); }; @@ -112,23 +108,6 @@ export const Controls: React.FC = ({ currentPitch }) => { If Tuning is hidden, Note Set becomes Item 2. I'll forgo complexity and just render what's available. */} - {/* Row 2, Col 1 */} -
- - -
- {/* Row 2, Col 2 */} {!inPhraseMode && (
@@ -159,40 +138,6 @@ export const Controls: React.FC = ({ currentPitch }) => {
)} - {/* Row 3: Fret Range (Full Width) */} - {currentInstrumentDef.ranges.find(r => r.id === settings.difficulty)?.type === 'custom_fret' && ( -
- -
-
- Min - onUpdateSettings({ ...settings, customMinFret: parseInt(e.target.value) || 0 })} - className="control-input" - style={{ width: '100%', padding: '4px' }} - /> -
-
- Max - onUpdateSettings({ ...settings, customMaxFret: parseInt(e.target.value) || 0 })} - className="control-input" - style={{ width: '100%', padding: '4px' }} - /> -
-
-
- )} {/* Target-note filter: unified controls, all modes */} diff --git a/src/components/MetronomeWidget.tsx b/src/components/MetronomeWidget.tsx index 299c7d3..28c0303 100644 --- a/src/components/MetronomeWidget.tsx +++ b/src/components/MetronomeWidget.tsx @@ -72,7 +72,7 @@ export const MetronomeWidget: React.FC = ({ {rhythm.active && (
- {/* Linear pendulum */} + {/* Linear pendulum — same element, left transitions each beat */}
= ({ aria-hidden >