diff --git a/src/ossia/editor/scenario/time_interval.cpp b/src/ossia/editor/scenario/time_interval.cpp index 891e996cfce..d2a7701eeaf 100644 --- a/src/ossia/editor/scenario/time_interval.cpp +++ b/src/ossia/editor/scenario/time_interval.cpp @@ -131,9 +131,9 @@ void time_interval::tick_impl( m_musical_start_position = num_quarters; } - if(new_date.impl > old_date.impl) + if(new_date.impl - 1 > old_date.impl) { - auto d = new_date; + auto d = ossia::time_value(new_date.impl - 1); const double num_quarters = d.impl / m_quarter_duration; auto [time, sig] = *ossia::last_before(m_timeSignature, d);