13
0

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
This commit is contained in:
Paul Davis 2024-05-24 11:02:03 -06:00
parent f2345b6fe0
commit 50a0f40a0f

View File

@ -922,6 +922,8 @@ Editor::set_timecode_ruler_scale (samplepos_t lower, samplepos_t upper)
timecode_ruler_scale = timecode_show_many_hours; timecode_ruler_scale = timecode_show_many_hours;
timecode_mark_modulo = std::max ((samplecnt_t) 1, 1 + (hours_in_range / timecode_nmarks)); timecode_mark_modulo = std::max ((samplecnt_t) 1, 1 + (hours_in_range / timecode_nmarks));
} }
timecode_mark_modulo = 1;
} }
void void