Correctly mark Lollipops for Percussive events as hits

This commit is contained in:
Robin Gareus
2024-08-08 21:35:00 +02:00
parent 21610015ed
commit c07c865b1d

View File

@@ -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)