From 6313a61f1533285a1f896d1ce5488463f48d0454 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 16 Apr 2023 10:32:50 -0600 Subject: [PATCH] more improvements to text position in tempo mapping bar --- gtk2_ardour/marker.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc index c1ce3205a6..0d72d1921d 100644 --- a/gtk2_ardour/marker.cc +++ b/gtk2_ardour/marker.cc @@ -708,7 +708,7 @@ TempoMarker::reposition () { MetricMarker::reposition (); - _mapping_text->set_position (ArdourCanvas::Duple (std::max (0., unit_position), _mapping_text->position().y)); + _mapping_text->set_position (ArdourCanvas::Duple (std::max (3., unit_position), _mapping_text->position().y)); } void @@ -716,7 +716,7 @@ TempoMarker::update () { set_position (_tempo->time()); - _mapping_text->set_position (ArdourCanvas::Duple (std::max (0., unit_position), _mapping_text->position().y)); + _mapping_text->set_position (ArdourCanvas::Duple (std::max (3., unit_position), _mapping_text->position().y)); char buf[64]; snprintf (buf, sizeof (buf), "%.2f", _tempo->note_types_per_minute ());