Skip to content

Commit

Permalink
⚡️ Fix hit test when previewing videos
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Jul 24, 2023
1 parent e6f08d1 commit 073338f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/widget/builder/video_page_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ class _VideoPageBuilderState extends State<VideoPageBuilder> {
ValueListenableBuilder<bool>(
valueListenable: isPlaying,
builder: (_, bool value, __) => GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: value || MediaQuery.accessibleNavigationOf(context)
? () => playButtonCallback(context)
: widget.delegate.switchDisplayingDetail,
Expand Down

0 comments on commit 073338f

Please sign in to comment.