From 50a0f40a0fed134d7a2bd01a99a40a43f235e838 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 24 May 2024 11:02:03 -0600 Subject: [PATCH] force timecode mark module to 1, to avoid missing marks The entire modulo concept for ruler marks has become mostly redundant now that the rulers will only show text for a tick if there enough space --- gtk2_ardour/editor_rulers.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc index e30474f2c6..dae3c5eb77 100644 --- a/gtk2_ardour/editor_rulers.cc +++ b/gtk2_ardour/editor_rulers.cc @@ -922,6 +922,8 @@ Editor::set_timecode_ruler_scale (samplepos_t lower, samplepos_t upper) timecode_ruler_scale = timecode_show_many_hours; timecode_mark_modulo = std::max ((samplecnt_t) 1, 1 + (hours_in_range / timecode_nmarks)); } + + timecode_mark_modulo = 1; } void