when window size technically, just the window containing the editor canvas, or the canvas itself) changes, recompute BBT ruler stuff
This commit is contained in:
parent
7e196e7559
commit
efd0d65acb
|
@ -313,6 +313,7 @@ Editor::track_canvas_viewport_size_allocated ()
|
|||
}
|
||||
|
||||
update_fixed_rulers();
|
||||
update_tempo_based_rulers ();
|
||||
redisplay_grid (false);
|
||||
_summary->set_overlays_dirty ();
|
||||
}
|
||||
|
|
|
@ -679,6 +679,8 @@ Editor::update_tempo_based_rulers ()
|
|||
|
||||
_bbt_metric->units_per_pixel = samples_per_pixel;
|
||||
|
||||
compute_bbt_ruler_scale (_leftmost_sample, _leftmost_sample + current_page_samples());
|
||||
|
||||
if (ruler_bbt_action->get_active()) {
|
||||
bbt_ruler->set_range (_leftmost_sample, _leftmost_sample+current_page_samples());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue