Skip to content

Commit

Permalink
修复音量问题
Browse files Browse the repository at this point in the history
  • Loading branch information
changsanjiang committed Dec 19, 2017
1 parent 4282a69 commit b289347
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SJVideoPlayer.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = 'SJVideoPlayer'
s.version = '1.2.10'
s.version = '1.2.11'
s.summary = 'video player.'
s.description = 'https://github.com/changsanjiang/SJVideoPlayer/blob/master/README.md'
s.homepage = 'https://github.com/changsanjiang/SJVideoPlayer'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ - (void)setModel:(SJMoreSettingsFooterViewModel *)model {
model.volumeChanged = ^(float volume) {
__strong typeof(_self) self = _self;
if ( !self ) return;
if ( self.volumeSlider.isDragging ) return;
self.volumeSlider.value = volume;
};

Expand Down
Binary file not shown.

0 comments on commit b289347

Please sign in to comment.