fix layering of automation views
This code is awful, and ought to be restricted only to velocity lanes by a better design
This commit is contained in:
parent
294de8d64f
commit
ce1ec1107c
|
@ -1236,6 +1236,10 @@ AutomationTimeAxisView::color () const
|
|||
void
|
||||
AutomationTimeAxisView::set_velocity_mode (VelocityMode vm, bool force)
|
||||
{
|
||||
if (_parameter.type() != MidiVelocityAutomation) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (vm == _velocity_mode && !force) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user