Skip to content

Commit

Permalink
fix: volume muted on player init bug fix (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dvir Hazout authored and Dan Ziv committed Oct 24, 2017
1 parent 477ac85 commit 506f935
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/volume/volume.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ class VolumeControl extends BaseComponent {
* @memberof VolumeControl
*/
onVolumeProgressBarMouseUp(e: Event): void {
this.props.updateVolumeDraggingStatus(false);
this.changeVolume(e);
if (this.props.isDraggingActive) {
this.props.updateVolumeDraggingStatus(false);
this.changeVolume(e);
}
}

/**
Expand Down

0 comments on commit 506f935

Please sign in to comment.