From d3abce8b680a758a14d2b913f447ff08a3bdcdcb Mon Sep 17 00:00:00 2001 From: orz12 Date: Mon, 13 Jan 2025 22:14:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=87=E9=A2=98=E8=BF=87=E7=9F=AD?= =?UTF-8?q?=E6=97=B6=E5=8F=B3=E4=BE=A7=E6=97=A0=E6=B3=95=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common/widgets/video_card_h.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/common/widgets/video_card_h.dart b/lib/common/widgets/video_card_h.dart index ea2f66ac5..f771d4e01 100644 --- a/lib/common/widgets/video_card_h.dart +++ b/lib/common/widgets/video_card_h.dart @@ -56,6 +56,7 @@ class VideoCardH extends StatelessWidget { CustomSemanticsAction(label: item.title): item.onTap!, }, child: GestureDetector( + behavior: HitTestBehavior.opaque, onLongPress: longPress, onTap: () async { if (type == 'ketang') { @@ -95,7 +96,8 @@ class VideoCardH extends StatelessWidget { GestureDetector( onLongPress: () { // 弹窗显示封面 - MyDialog.show(context, OverlayPop(videoItem: videoItem)); + MyDialog.show(context, + OverlayPop(videoItem: videoItem)); }, behavior: HitTestBehavior.translucent, child: Hero(