fix(ui) - player rewind to 0

This commit is contained in:
Shekar Siri 2022-11-18 18:21:57 +01:00
parent 9f4cef2f8b
commit 4e9473d4b5

View file

@ -203,7 +203,7 @@ export default class Controls extends React.Component {
backTenSeconds = () => {
//shouldComponentUpdate
const { time, jump, skipInterval } = this.props;
jump(Math.max(0, time - SKIP_INTERVALS[skipInterval]));
jump(Math.max(1, time - SKIP_INTERVALS[skipInterval]));
};
goLive = () => this.props.jump(this.props.endTime);