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:
parent
f2345b6fe0
commit
50a0f40a0f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user