mirror of https://github.com/odrling/Aegisub
Actually modify the line time when applying lead-in/out in karaoke mode
This commit is contained in:
parent
7433b814a7
commit
08c9781dfb
|
@ -295,6 +295,8 @@ void AudioTimingControllerKaraoke::AddLeadOut() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudioTimingControllerKaraoke::ApplyLead(bool announce_primary) {
|
void AudioTimingControllerKaraoke::ApplyLead(bool announce_primary) {
|
||||||
|
active_line->Start = (int)start_marker;
|
||||||
|
active_line->End = (int)end_marker;
|
||||||
kara->SetLineTimes(start_marker, end_marker);
|
kara->SetLineTimes(start_marker, end_marker);
|
||||||
if (!announce_primary)
|
if (!announce_primary)
|
||||||
AnnounceUpdatedStyleRanges();
|
AnnounceUpdatedStyleRanges();
|
||||||
|
|
Loading…
Reference in New Issue