mirror of
https://github.com/9x/sheetmusictrainer.git
synced 2026-09-02 09:34:33 +02:00
resize fretboard
This commit is contained in:
22
src/App.tsx
22
src/App.tsx
@@ -343,16 +343,18 @@ function App() {
|
||||
|
||||
<main className="main-stage">
|
||||
<div className="card sheet-music-card">
|
||||
<SheetMusic
|
||||
targetMidi={targetMidi}
|
||||
playedMidi={pitchData?.midi}
|
||||
keySignature={settings.keySignature}
|
||||
clef={currentInstrumentDef.clefMode}
|
||||
transpose={currentInstrumentDef.transpose}
|
||||
width={Math.min(window.innerWidth - 40, 500)}
|
||||
height={currentInstrumentDef.clefMode === 'grand' ? 300 : 250}
|
||||
hideTargetNote={settings.gameMode === 'ear_training' && !revealed}
|
||||
/>
|
||||
<div className="sheet-music-container">
|
||||
<SheetMusic
|
||||
targetMidi={targetMidi}
|
||||
playedMidi={pitchData?.midi}
|
||||
keySignature={settings.keySignature}
|
||||
clef={currentInstrumentDef.clefMode}
|
||||
transpose={currentInstrumentDef.transpose}
|
||||
width={Math.min(window.innerWidth - 40, 500)}
|
||||
height={currentInstrumentDef.clefMode === 'grand' ? 300 : 250}
|
||||
hideTargetNote={settings.gameMode === 'ear_training' && !revealed}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{!settings.zenMode && (
|
||||
<div className="feedback-area">
|
||||
|
||||
Reference in New Issue
Block a user