From c72a94250c023aaf8b1e0f0296d0985b8ad24134 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 29 Sep 2023 08:45:14 -0600 Subject: [PATCH] update to aca5d7d9887 to fix lollipop position As noted in the commit message for that earlier commit, the radius adjustment should not be required --- gtk2_ardour/velocity_ghost_region.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/velocity_ghost_region.cc b/gtk2_ardour/velocity_ghost_region.cc index d4bac1048d..e1c8364757 100644 --- a/gtk2_ardour/velocity_ghost_region.cc +++ b/gtk2_ardour/velocity_ghost_region.cc @@ -153,7 +153,7 @@ VelocityGhostRegion::set_size_and_position (GhostEvent& ev) ArdourCanvas::Lollipop* l = dynamic_cast (ev.item); const double available_height = base_rect->y1(); const double actual_height = (ev.event->note()->velocity() / 127.0) * available_height; - l->set (ArdourCanvas::Duple (ev.event->x0() + lollipop_radius, base_rect->y1() - actual_height), actual_height, lollipop_radius); + l->set (ArdourCanvas::Duple (ev.event->x0(), base_rect->y1() - actual_height), actual_height, lollipop_radius); } void