mirror of
https://github.com/9x/sheetmusictrainer.git
synced 2026-11-03 22:03:54 +01:00
Phrase mode UI fixes: visible current-note accent, staff headroom, reused virtual-instrument/hint toggles, zen decluttering
This commit is contained in:
@@ -61,6 +61,7 @@ function shiftScoreOctaves(score: Score, octaves: number): Score {
|
|||||||
export const PhraseTrainer = forwardRef<PhraseHandle, PhraseTrainerProps>(
|
export const PhraseTrainer = forwardRef<PhraseHandle, PhraseTrainerProps>(
|
||||||
function PhraseTrainer({ listening, micError, windowWidth }, ref) {
|
function PhraseTrainer({ listening, micError, windowWidth }, ref) {
|
||||||
const { settings, updateSettings } = useSettings();
|
const { settings, updateSettings } = useSettings();
|
||||||
|
const setSettings = updateSettings;
|
||||||
const { playNote } = useAudioPlayer();
|
const { playNote } = useAudioPlayer();
|
||||||
const phrase = getPhraseSettings(settings);
|
const phrase = getPhraseSettings(settings);
|
||||||
const setPhrase = useCallback((updates: Partial<PhraseSettings>) => {
|
const setPhrase = useCallback((updates: Partial<PhraseSettings>) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user