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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user