update to aca5d7d988 to fix lollipop position

As noted in the commit message for that earlier commit, the radius
adjustment should not be required
This commit is contained in:
Paul Davis 2023-09-29 08:45:14 -06:00
parent 243f40e10d
commit c72a94250c
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ VelocityGhostRegion::set_size_and_position (GhostEvent& ev)
ArdourCanvas::Lollipop* l = dynamic_cast<ArdourCanvas::Lollipop*> (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