13
0

use larger font for bars on BBT ruler

This commit is contained in:
Paul Davis 2021-01-03 16:49:55 -07:00
parent 20029ec7e6
commit 14318dd342
2 changed files with 5 additions and 0 deletions

View File

@ -131,6 +131,7 @@ Editor::initialize_rulers ()
ruler_grabbed_widget = 0;
Pango::FontDescription font (UIConfiguration::instance().get_SmallerFont());
Pango::FontDescription larger_font (UIConfiguration::instance().get_SmallFont());
_timecode_metric = new TimecodeMetric (this);
_bbt_metric = new BBTMetric (this);
@ -157,6 +158,7 @@ Editor::initialize_rulers ()
bbt_ruler = new ArdourCanvas::Ruler (_time_markers_group, *_bbt_metric,
ArdourCanvas::Rect (0, 0, ArdourCanvas::COORD_MAX, timebar_height));
bbt_ruler->set_font_description (font);
bbt_ruler->set_second_font_description (larger_font);
CANVAS_DEBUG_NAME (bbt_ruler, "bbt ruler");
timecode_nmarks = 0;

View File

@ -1105,6 +1105,9 @@ MidiRegionView::get_events (Events& e, Evoral::Sequence<Temporal::Beats>::NoteOp
void
MidiRegionView::redisplay_model()
{
cerr << "REDISPLAY\n";
PBD::stacktrace (cout, 20);
if (_active_notes) {
// Currently recording
const samplecnt_t zoom = trackview.editor().get_current_zoom();