Fix off-by-one error in logic for when to reannounce karaoke style ranges
Originally committed to SVN as r6319.
This commit is contained in:
parent
a249cfcc35
commit
8e1ffb7898
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ void AudioTimingControllerKaraoke::OnMarkerDrag(AudioMarker *m, int64_t new_posi
|
|||
size_t syl = marker - &markers.front() + 1;
|
||||
kara->SetStartTime(syl, ToMS(new_position));
|
||||
|
||||
if (syl == cur_syl || syl + 1 == cur_syl) {
|
||||
if (syl == cur_syl || syl == cur_syl + 1) {
|
||||
AnnounceUpdatedPrimaryRange();
|
||||
AnnounceUpdatedStyleRanges();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue