Replace ::user_double() with ::get_double() 2/2

This commit is contained in:
Robin Gareus 2022-06-29 01:17:13 +02:00
parent 3623b39168
commit 09e8ba00c2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ AutomationController::value_adjusted ()
{
if (!_ignore_change) {
const double new_val = _controllable->interface_to_internal(_adjustment->get_value(), true);
if (_controllable->user_double() != new_val) {
if (_controllable->get_double() != new_val) {
_controllable->set_value (new_val, Controllable::NoGroup);
}
}

View File

@ -204,7 +204,7 @@ AutomationRegionView::add_automation_event (GdkEvent *, timepos_t const & w, dou
assert (mt);
boost::shared_ptr<Evoral::Control> mc = mt->control(_parameter);
assert (mc);
y = mc->user_double ();
y = mc->get_double ();
} else if (UIConfiguration::instance().get_new_automation_points_on_lane()) {
y = c->list()->eval (when);
}