13
0

if user changes session:property:time-domain, switch the rulers

* if the user has explicitly made any ruler settings, they will be found
   and this will not take effect
This commit is contained in:
Ben Loftis 2023-10-01 13:59:30 -05:00
parent df479bf8cd
commit 2f4838db68

View File

@ -1812,6 +1812,7 @@ Editor::parameter_changed (std::string p)
queue_redisplay_track_views ();
} else if (p == "default-time-domain") {
stretch_marker_cb.set_sensitive (_session->config.get_default_time_domain () == Temporal::BeatTime);
restore_ruler_visibility(); /* NOTE: if user has explicitly set rulers then this will have no effect */
}
}