diff --git a/gtk2_ardour/velocity_ghost_region.cc b/gtk2_ardour/velocity_ghost_region.cc index 9b83adf640..ea4415639a 100644 --- a/gtk2_ardour/velocity_ghost_region.cc +++ b/gtk2_ardour/velocity_ghost_region.cc @@ -117,3 +117,9 @@ VelocityGhostRegion::update_contents_height () { VelocityDisplay::redisplay (); } + +void +VelocityGhostRegion::update_hit (GhostEvent* gev) +{ + update_note (gev); +} diff --git a/gtk2_ardour/velocity_ghost_region.h b/gtk2_ardour/velocity_ghost_region.h index 289f44e30a..e94f8879cf 100644 --- a/gtk2_ardour/velocity_ghost_region.h +++ b/gtk2_ardour/velocity_ghost_region.h @@ -43,6 +43,7 @@ class VelocityGhostRegion : public MidiGhostRegion, public VelocityDisplay void note_selected (NoteBase*); void update_note (GhostEvent*); void update_contents_height (); + void update_hit (GhostEvent*); ArdourCanvas::Rectangle& base_item();