Use duration as current time if endcards or autoplay is visible when submitting

This commit is contained in:
Ajay Ramachandran
2020-05-10 21:06:15 -04:00
parent 2f842a0455
commit dc04e045aa
3 changed files with 40 additions and 6 deletions

View File

@@ -247,7 +247,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
}
setTimeToNow(index: number) {
this.setTimeTo(index, this.props.contentContainer().v.currentTime);
this.setTimeTo(index, this.props.contentContainer().getRoughCurrentTime());
}
setTimeToEnd() {