Skip to content

Commit 073338f

Browse files
committed
⚡️ Fix hit test when previewing videos
1 parent e6f08d1 commit 073338f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/widget/builder/video_page_builder.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ class _VideoPageBuilderState extends State<VideoPageBuilder> {
182182
ValueListenableBuilder<bool>(
183183
valueListenable: isPlaying,
184184
builder: (_, bool value, __) => GestureDetector(
185+
behavior: HitTestBehavior.opaque,
185186
onTap: value || MediaQuery.accessibleNavigationOf(context)
186187
? () => playButtonCallback(context)
187188
: widget.delegate.switchDisplayingDetail,

0 commit comments

Comments
 (0)