1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-17 00:44:19 +00:00
This commit is contained in:
jules 2008-06-18 09:49:48 +00:00
parent e57fe9b780
commit e1c65ed724

View file

@ -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_);
}