-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
made multichannel-to-equave settings and color mapping dependent on mode #657
Conversation
If you're hiding the color mapping stuff there should be a corresponding bypass in App.vue to make sure multichannel mode doesn't behave strangely. |
v-model="midi.multichannelEquavesDown" | ||
/> | ||
</template> | ||
<template v-if="!midi.multichannelToEquave"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be a v-else
but then the template becomes more rigid. Maybe two separate v-if
s is better. Just wanted to point out the syntax.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, I noticed that possibility this morning while looking around other places where v-if pops up
2nd commit adds changes to App.vue and Midi Piano so chromatic mode behaviour reverts when in multichannel-to-equave mode |
Missing bypass near |
fixed... |
@@ -156,7 +158,7 @@ function midiNoteOn(index: number, rawAttack?: number, channel?: number) { | |||
if (!midi.velocityOn) { | |||
rawRelease = 80 | |||
} | |||
if (whiteMode === 'simple') { | |||
if (whiteMode === 'simple' || multichannel) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this is on me for writing bad code in the first place. Enough churn. I'll fix it on main
.
made options visible depending on multichannel-to-equave checkbox