mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: remove sourceRectHint
This commit is contained in:
@@ -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(),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 {}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user