mirror of https://github.com/odrling/Aegisub
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
|
@ -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 New Issue