Skip to content

Commit

Permalink
Don't mess with computed duration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagami committed Dec 12, 2016
1 parent 536a922 commit d5da7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export default class extends React.PureComponent {
/>
<Seek
value={this.state.time}
max={Math.max(1, Math.ceil(this.duration))}
max={this.duration}
mstart={Math.floor(this.props.mstart)}
mend={Math.floor(this.props.mend)}
onMouseDown={this.handleSeekMouseDown}
Expand Down

0 comments on commit d5da7e7

Please # to comment.