mod: remove sourceRectHint

This commit is contained in:
bggRGjQaUbCoE
2024-09-24 17:14:11 +08:00
parent 104b318858
commit 02d69b7c55
2 changed files with 0 additions and 12 deletions

View File

@@ -430,12 +430,6 @@ class _VideoDetailPageState extends State<VideoDetailPage>
videoDetailController.data.dash!.video!.first.width!, videoDetailController.data.dash!.video!.first.width!,
videoDetailController.data.dash!.video!.first.height!, videoDetailController.data.dash!.video!.first.height!,
), ),
sourceRectHint: Rectangle<int>(
0,
0,
context.width.toInt(),
context.height.toInt(),
),
), ),
); );
} }

View File

@@ -1653,12 +1653,6 @@ class _HeaderControlState extends State<HeaderControl> {
if (!context.mounted) return; if (!context.mounted) return;
await widget.floating!.enable(EnableManual( await widget.floating!.enable(EnableManual(
aspectRatio: aspectRatio, aspectRatio: aspectRatio,
sourceRectHint: Rectangle<int>(
0,
0,
context.width.toInt(),
context.height.toInt(),
),
)); ));
} else {} } else {}
}, },