editor: when the tempo map changes, update the per-thread pointer
TempoMap::use() merely returns the current per-thread tempo map pointer; if a change is signalled, we should force an update of the per-thread ptr via TempoMap::fetch()
This commit is contained in:
parent
8a59f3fe8e
commit
f0cd3b5c0c
@ -256,7 +256,7 @@ void
|
||||
Editor::tempo_map_changed ()
|
||||
{
|
||||
TempoMap::Metrics metrics;
|
||||
TempoMap::use()->get_metrics (metrics);
|
||||
TempoMap::fetch()->get_metrics (metrics);
|
||||
|
||||
draw_metric_marks (metrics);
|
||||
compute_bbt_ruler_scale (_leftmost_sample, _leftmost_sample + current_page_samples());
|
||||
|
Loading…
Reference in New Issue
Block a user