mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 00:56:33 +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)
|
, is_hit (false)
|
||||||
{
|
{
|
||||||
velocity_while_editing = event->note()->velocity();
|
velocity_while_editing = event->note()->velocity();
|
||||||
|
if (dynamic_cast<Hit*>(e)) {
|
||||||
|
is_hit = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MidiGhostRegion::GhostEvent::GhostEvent (NoteBase* e, ArdourCanvas::Container* g)
|
MidiGhostRegion::GhostEvent::GhostEvent (NoteBase* e, ArdourCanvas::Container* g)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue