From c07c865b1dcc37c44927e2f994ae3aed1fc77824 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 8 Aug 2024 21:35:00 +0200 Subject: [PATCH] Correctly mark Lollipops for Percussive events as hits --- gtk2_ardour/ghostregion.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc index 2756868e20..5718e2ed05 100644 --- a/gtk2_ardour/ghostregion.cc +++ b/gtk2_ardour/ghostregion.cc @@ -216,6 +216,9 @@ MidiGhostRegion::GhostEvent::GhostEvent (NoteBase* e, ArdourCanvas::Container* g , is_hit (false) { velocity_while_editing = event->note()->velocity(); + if (dynamic_cast(e)) { + is_hit = true; + } } MidiGhostRegion::GhostEvent::GhostEvent (NoteBase* e, ArdourCanvas::Container* g)