mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: danmaku
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// ignore_for_file: avoid_print
|
||||
|
||||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
@@ -85,8 +83,7 @@ class PlPlayerController {
|
||||
final Rx<bool> _continuePlayInBackground = false.obs;
|
||||
|
||||
///
|
||||
// ignore: prefer_final_fields
|
||||
Rx<bool> _isSliderMoving = false.obs;
|
||||
final Rx<bool> _isSliderMoving = false.obs;
|
||||
PlaylistMode _looping = PlaylistMode.none;
|
||||
bool _autoPlay = false;
|
||||
final bool _listenersInitialized = false;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// ignore: camel_case_types
|
||||
enum BtmProgressBehavior {
|
||||
alwaysShow,
|
||||
alwaysHide,
|
||||
|
||||
@@ -583,6 +583,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
_listenerFS?.cancel();
|
||||
_listenerFS = isFullScreen
|
||||
? plPlayerController.subtitleFontScaleFS.listen((value) {
|
||||
_updateSubtitle(value);
|
||||
|
||||
Reference in New Issue
Block a user