From 02d69b7c55f42dc55be18fe466d6f42d45550caf Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Tue, 24 Sep 2024 17:14:11 +0800 Subject: [PATCH] mod: remove sourceRectHint --- lib/pages/video/detail/view.dart | 6 ------ lib/pages/video/detail/widgets/header_control.dart | 6 ------ 2 files changed, 12 deletions(-) diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index d5c2ec3b..7721d41d 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -430,12 +430,6 @@ class _VideoDetailPageState extends State videoDetailController.data.dash!.video!.first.width!, videoDetailController.data.dash!.video!.first.height!, ), - sourceRectHint: Rectangle( - 0, - 0, - context.width.toInt(), - context.height.toInt(), - ), ), ); } diff --git a/lib/pages/video/detail/widgets/header_control.dart b/lib/pages/video/detail/widgets/header_control.dart index 9df5a8ef..aecc8f43 100644 --- a/lib/pages/video/detail/widgets/header_control.dart +++ b/lib/pages/video/detail/widgets/header_control.dart @@ -1653,12 +1653,6 @@ class _HeaderControlState extends State { if (!context.mounted) return; await widget.floating!.enable(EnableManual( aspectRatio: aspectRatio, - sourceRectHint: Rectangle( - 0, - 0, - context.width.toInt(), - context.height.toInt(), - ), )); } else {} },