13
0

Fix typo in 1dafa5017e (first automation point on line)

This commit is contained in:
Robin Gareus 2022-04-27 12:55:33 +02:00
parent c9b8a91edb
commit 0e804be818
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -770,7 +770,7 @@ AutomationTimeAxisView::add_automation_event (GdkEvent* event, timepos_t const &
timepos_t when (pos);
_editor.snap_to_with_modifier (when, event);
if (UIConfiguration::instance().get_new_automation_points_on_lane() || _control->list()->size ()) {
if (UIConfiguration::instance().get_new_automation_points_on_lane() || _control->list()->size () == 0) {
if (_control->list()->size () == 0) {
y = _control->get_value ();
} else {