Skip to content

Commit

Permalink
change shown range last note
Browse files Browse the repository at this point in the history
  • Loading branch information
TeemuKoivisto committed Apr 5, 2024
1 parent ed42be7 commit 1b13b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/routes/(site)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import type { NoteMessageEvent } from 'webmidi'
import { GuessChords, GuessKeys, GuessNotes } from '@/games'
import { getNoteAbsolute, getRootNote } from '@/chords-and-scales'
import { getNote, getNoteAbsolute, getRootNote } from '@/chords-and-scales'
import { keyboardActions } from '$stores/keyboard'
let timeout: ReturnType<typeof setTimeout> | undefined
Expand Down Expand Up @@ -217,7 +217,7 @@
<div class="pl-4">{getNoteAbsolute($midiRangeNotes[0])}</div>
</div>
<div class="flex items-center">
<div class="pr-4">{getNoteAbsolute($midiRangeNotes[1])}</div>
<div class="pr-4">{getNoteAbsolute(getNote($midiRange[0] + 23))}</div>
<IconButton icon={arrowUp} size={32} on:click={() => inputsActions.shiftMidiRange(true)} />
</div>
</div>
Expand Down

0 comments on commit 1b13b0d

Please sign in to comment.