editor uses the session default time domain as its default time domain
This commit is contained in:
parent
71953a9929
commit
9461911a86
@ -6845,6 +6845,12 @@ Editor::duration_to_pixels_unrounded (timecnt_t const & dur) const
|
||||
Temporal::TimeDomain
|
||||
Editor::default_time_domain () const
|
||||
{
|
||||
if (_session) {
|
||||
return _session->config.get_default_time_domain();
|
||||
}
|
||||
|
||||
/* Probably never reached */
|
||||
|
||||
if (_snap_mode == SnapOff) {
|
||||
return AudioTime;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user