Set mini-timeline font to match marker font-size

Previously different main application bars used different
fontsizes, depending on current get_pango_context().
This commit is contained in:
Robin Gareus 2025-01-23 22:04:34 +01:00
parent 58f1d46e31
commit 37d16167e9
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -140,6 +140,7 @@ MiniTimeline::set_session (Session* s)
void
MiniTimeline::dpi_changed ()
{
_layout->set_font_description (ARDOUR_UI_UTILS::get_font_for_style (N_("MarkerText")));
calculate_time_width ();
if (get_realized()) {