mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-14 09:46:01 -07:00
fix: Move calculation logic to lib_mpv subtitles
This commit is contained in:
parent
c446210e6a
commit
5fac088e2d
8 changed files with 42 additions and 63 deletions
|
|
@ -39,8 +39,8 @@ class MediaControlsWrapper extends BaseAudioHandler {
|
|||
Stream<PlayerState>? get stateStream => _player?.stateStream;
|
||||
PlayerState? get lastState => _player?.lastState;
|
||||
|
||||
Widget? subtitleWidget(bool showOverlay, {double? menuHeight}) =>
|
||||
_player?.subtitles(showOverlay, menuHeight: menuHeight);
|
||||
Widget? subtitleWidget(bool showOverlay, {GlobalKey? controlsKey}) =>
|
||||
_player?.subtitles(showOverlay, menuKey: controlsKey);
|
||||
Widget? videoWidget(Key key, BoxFit fit) => _player?.videoWidget(key, fit);
|
||||
|
||||
final Ref ref;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue