mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Correctly mark Lollipops for Percussive events as hits
This commit is contained in:
parent
21610015ed
commit
c07c865b1d
1 changed files with 3 additions and 0 deletions
|
|
@ -216,6 +216,9 @@ MidiGhostRegion::GhostEvent::GhostEvent (NoteBase* e, ArdourCanvas::Container* g
|
|||
, is_hit (false)
|
||||
{
|
||||
velocity_while_editing = event->note()->velocity();
|
||||
if (dynamic_cast<Hit*>(e)) {
|
||||
is_hit = true;
|
||||
}
|
||||
}
|
||||
|
||||
MidiGhostRegion::GhostEvent::GhostEvent (NoteBase* e, ArdourCanvas::Container* g)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue