mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
tweak position of tempo text in mapping bar
This commit is contained in:
parent
040dae9b0d
commit
9d2c1232c5
1 changed files with 2 additions and 2 deletions
|
|
@ -708,7 +708,7 @@ TempoMarker::reposition ()
|
||||||
{
|
{
|
||||||
MetricMarker::reposition ();
|
MetricMarker::reposition ();
|
||||||
|
|
||||||
_mapping_text->set_position (ArdourCanvas::Duple (unit_position, _mapping_text->position().y));
|
_mapping_text->set_position (ArdourCanvas::Duple (std::max (0., unit_position), _mapping_text->position().y));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -716,7 +716,7 @@ TempoMarker::update ()
|
||||||
{
|
{
|
||||||
set_position (_tempo->time());
|
set_position (_tempo->time());
|
||||||
|
|
||||||
_mapping_text->set_position (ArdourCanvas::Duple (unit_position, _mapping_text->position().y));
|
_mapping_text->set_position (ArdourCanvas::Duple (std::max (0., unit_position), _mapping_text->position().y));
|
||||||
|
|
||||||
char buf[64];
|
char buf[64];
|
||||||
snprintf (buf, sizeof (buf), "%.2f", _tempo->note_types_per_minute ());
|
snprintf (buf, sizeof (buf), "%.2f", _tempo->note_types_per_minute ());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue