mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
This commit is contained in:
parent
e57fe9b780
commit
e1c65ed724
1 changed files with 0 additions and 2 deletions
|
|
@ -207,8 +207,6 @@ void MidiKeyboardComponent::setMidiChannelsToDisplay (const int midiChannelMask)
|
|||
|
||||
void MidiKeyboardComponent::setVelocity (const float velocity_)
|
||||
{
|
||||
jassert (velocity > 0 && velocity <= 1.0f);
|
||||
|
||||
velocity = jlimit (0.0f, 1.0f, velocity_);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue