From f5142fb19a77a2aeaba46797e44f602ae5473009 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 14 Feb 2022 20:40:11 -0600 Subject: [PATCH] tempo ruler: increase the size of tempo markers. 6pix is too small a target --- gtk2_ardour/marker.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc index 32a9555367..15d9c86c19 100644 --- a/gtk2_ardour/marker.cc +++ b/gtk2_ardour/marker.cc @@ -98,6 +98,9 @@ ArdourMarker::ArdourMarker (PublicEditor& ed, ArdourCanvas::Item& parent, guint3 const double M3 = std::max(1.f, rintf(3.f * scale)); const double M6 = std::max(2.f, rintf(6.f * scale)); + const double M5 = std::max(1.f, rintf(5.f * scale)); + const double M10 = std::max(2.f, rintf(10.f * scale)); + /* Shapes we use: * * Mark: @@ -193,14 +196,14 @@ ArdourMarker::ArdourMarker (PublicEditor& ed, ArdourCanvas::Item& parent, guint3 case Tempo: case Meter: points = new ArdourCanvas::Points (); - points->push_back (ArdourCanvas::Duple ( M3, 0.0)); - points->push_back (ArdourCanvas::Duple ( M6, MH * .6)); - points->push_back (ArdourCanvas::Duple ( M6, MH)); + points->push_back (ArdourCanvas::Duple ( M5, 0.0)); + points->push_back (ArdourCanvas::Duple ( M10, MH * .6)); + points->push_back (ArdourCanvas::Duple ( M10, MH)); points->push_back (ArdourCanvas::Duple (0.0, MH)); points->push_back (ArdourCanvas::Duple (0.0, MH * .6)); - points->push_back (ArdourCanvas::Duple ( M3, 0.0)); + points->push_back (ArdourCanvas::Duple ( M5, 0.0)); - _shift = 3 * scale; + _shift = 5 * scale; _label_offset = 8.0 * scale; break;