13
0

Switch CDFrame grid to use MinSec ruler rather than Sample ruler.

This commit is contained in:
Ben Loftis 2018-02-26 18:52:28 -06:00
parent e1b380b302
commit a699a637e4
2 changed files with 3 additions and 3 deletions

View File

@ -2268,10 +2268,10 @@ Editor::set_grid_to (GridType gt)
ruler_bbt_action->set_active(false);
ruler_timecode_action->set_active(false);
ruler_minsec_action->set_active(false);
ruler_minsec_action->set_active(true);
ruler_cd_marker_action->set_active(true);
ruler_samples_action->set_active(true);
ruler_samples_action->set_active(false);
}
instant_save ();

View File

@ -383,7 +383,7 @@ Editor::maybe_draw_grid_lines ()
} else if (_grid_type== GridTypeTimecode) {
metric_get_timecode (grid_marks, _leftmost_sample, rightmost_sample, 12);
} else if (_grid_type == GridTypeCDFrame) {
metric_get_samples (grid_marks, _leftmost_sample, rightmost_sample, 12);
metric_get_minsec (grid_marks, _leftmost_sample, rightmost_sample, 12);
} else if (_grid_type == GridTypeMinSec) {
metric_get_minsec (grid_marks, _leftmost_sample, rightmost_sample, 12);
}