more improvements to text position in tempo mapping bar

This commit is contained in:
Paul Davis 2023-04-16 10:32:50 -06:00
parent 88e4b40857
commit 6313a61f15
1 changed files with 2 additions and 2 deletions

View File

@ -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 ());