Fix stave vertical placement: compensate VexFlow space_above_staff_ln offset in live staff and phrase rows (verified via screenshots)

This commit is contained in:
2026-09-14 02:21:33 +02:00
parent 7d4c71539a
commit 173c4c56bc
4 changed files with 51 additions and 22 deletions

View File

@@ -330,10 +330,6 @@ function App() {
<LiveNoteStaff
midi={displayedPitch ? displayedPitch.midi : null}
clef={(() => {
const { clef } = resolveClefTranspose(currentInstrumentDef, settings.difficulty);
return clef === 'grand' ? 'treble' : clef;
})()}
transpose={resolveClefTranspose(currentInstrumentDef, settings.difficulty).transpose}
keySignature={settings.keySignature}
theme={settings.theme}