Skip to content

Commit

Permalink
[ASVideoPlayerNode] Check that the video player's delegate implements…
Browse files Browse the repository at this point in the history
… the didTapFullScreenButtonNode method before calling it #trivial (TextureGroup#418)
  • Loading branch information
tnev authored and bernieperez committed Apr 25, 2018
1 parent 1f8ee3f commit 0b58dc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/ASVideoPlayerNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,9 @@ - (void)didTapPlaybackButton:(ASControlNode*)node

- (void)didTapFullScreenButton:(ASButtonNode*)node
{
[_delegate didTapFullScreenButtonNode:node];
if (_delegateFlags.delegateDidTapFullScreenButtonNode) {
[_delegate didTapFullScreenButtonNode:node];
}
}

- (void)beginSeek
Expand Down

0 comments on commit 0b58dc4

Please sign in to comment.