Skip to content

Commit

Permalink
minor changes in html and css
Browse files Browse the repository at this point in the history
  • Loading branch information
000masa000 committed Apr 15, 2024
1 parent 85cd5ff commit 71f09fe
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions src/views/MidiView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Input, Output, WebMidi, type NoteMessageEvent, type MessageEvent } from
import MidiPiano from '@/components/MidiPiano.vue'
import { useMidiStore } from '@/stores/midi'
import { useScaleStore } from '@/stores/scale'
import { divNodes } from 'sonic-weave'

Check warning on line 7 in src/views/MidiView.vue

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18.x)

'divNodes' is defined but never used

Check warning on line 7 in src/views/MidiView.vue

View workflow job for this annotation

GitHub Actions / build (windows-latest, 18.x)

'divNodes' is defined but never used

Check warning on line 7 in src/views/MidiView.vue

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18.x)

'divNodes' is defined but never used

Check warning on line 7 in src/views/MidiView.vue

View workflow job for this annotation

GitHub Actions / build (windows-latest, 18.x)

'divNodes' is defined but never used
const props = defineProps<{
midiInputChannels: Set<number>
Expand Down Expand Up @@ -177,53 +178,50 @@ onUnmounted(() => {
</span>
</div>
<div class="control checkbox-group">
<span>
<div>
<input type="checkbox" id="midi-velocity" v-model="midi.velocityOn" />
<label for="midi-velocity"> Use velocity </label>
</span>
<span>
</div>
<div>
<input type="checkbox" id="multichannel" v-model="midi.multichannelToEquave" />
<label for="multichannel"> Multichannel-to-equave </label>
</span>
</div>
</div>
<label>Settings for multichannel-to-equave mode</label>
<div class="control multichannel-input">
<span>
<div class="control multichannel-input-container">
<div>
Center channel
<input
id="multichannel-center"
class="control"
type="number"
min="1"
max="16"
value="3"
v-model="midi.multichannelCenter"
/>
</span>
<span>
</div>
<div>
Total equaves
<input
id="multichannel-num-equaves"
class="control"
type="number"
min="1"
max="16"
value="8"
v-model="midi.multichannelNumEquaves"
/>
</span>
<span>
</div>
<div>
Equaves down
<input
id="multichannel-equaves-down"
class="control"
type="number"
min="0"
max="15"
value="4"
v-model="midi.multichannelEquavesDown"
/>
</span>
</div>
</div>
<div class="control radio-group">
<label>Color mapping</label>
Expand Down Expand Up @@ -336,7 +334,7 @@ div.checkbox-group {
gap: 0.15rem 1rem;
}
div.multichannel-input {
div.multichannel-input-container {
gap: 0.15rem 1rem;
}
Expand Down

0 comments on commit 71f09fe

Please sign in to comment.