Switch CDFrame grid to use MinSec ruler rather than Sample ruler.
This commit is contained in:
parent
e1b380b302
commit
a699a637e4
@ -2268,10 +2268,10 @@ Editor::set_grid_to (GridType gt)
|
|||||||
|
|
||||||
ruler_bbt_action->set_active(false);
|
ruler_bbt_action->set_active(false);
|
||||||
ruler_timecode_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_cd_marker_action->set_active(true);
|
||||||
ruler_samples_action->set_active(true);
|
ruler_samples_action->set_active(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
instant_save ();
|
instant_save ();
|
||||||
|
@ -383,7 +383,7 @@ Editor::maybe_draw_grid_lines ()
|
|||||||
} else if (_grid_type== GridTypeTimecode) {
|
} else if (_grid_type== GridTypeTimecode) {
|
||||||
metric_get_timecode (grid_marks, _leftmost_sample, rightmost_sample, 12);
|
metric_get_timecode (grid_marks, _leftmost_sample, rightmost_sample, 12);
|
||||||
} else if (_grid_type == GridTypeCDFrame) {
|
} 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) {
|
} else if (_grid_type == GridTypeMinSec) {
|
||||||
metric_get_minsec (grid_marks, _leftmost_sample, rightmost_sample, 12);
|
metric_get_minsec (grid_marks, _leftmost_sample, rightmost_sample, 12);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user