mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
show img menu
opt img placeholder opt player gesture opt pref tweaks Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -19,7 +19,6 @@ import 'package:PiliPlus/models/video/play/url.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_shot/data.dart';
|
||||
import 'package:PiliPlus/pages/danmaku/danmaku_model.dart';
|
||||
import 'package:PiliPlus/pages/mine/controller.dart';
|
||||
import 'package:PiliPlus/plugin/pl_player/models/bottom_progress_behavior.dart';
|
||||
import 'package:PiliPlus/plugin/pl_player/models/data_source.dart';
|
||||
import 'package:PiliPlus/plugin/pl_player/models/data_status.dart';
|
||||
import 'package:PiliPlus/plugin/pl_player/models/double_tap_type.dart';
|
||||
@@ -402,8 +401,7 @@ class PlPlayerController {
|
||||
late final bool enableHA = Pref.enableHA;
|
||||
late final String hwdec = Pref.hardwareDecoding;
|
||||
|
||||
late final progressType =
|
||||
BtmProgressBehavior.values[Pref.btmProgressBehavior];
|
||||
late final progressType = Pref.btmProgressBehavior;
|
||||
late final enableQuickDouble = Pref.enableQuickDouble;
|
||||
late final fullScreenGestureReverse = Pref.fullScreenGestureReverse;
|
||||
|
||||
@@ -416,7 +414,7 @@ class PlPlayerController {
|
||||
isRelative ? duration.value.inMilliseconds * offset : offset;
|
||||
|
||||
// 播放顺序相关
|
||||
late PlayRepeat playRepeat = PlayRepeat.values[Pref.playRepeat];
|
||||
late PlayRepeat playRepeat = Pref.playRepeat;
|
||||
|
||||
TextStyle get subTitleStyle => TextStyle(
|
||||
height: 1.5,
|
||||
@@ -1519,7 +1517,7 @@ class PlPlayerController {
|
||||
}
|
||||
|
||||
late bool isManualFS = true;
|
||||
late final FullScreenMode mode = FullScreenMode.values[Pref.fullScreenMode];
|
||||
late final FullScreenMode mode = Pref.fullScreenMode;
|
||||
late final horizontalScreen = Pref.horizontalScreen;
|
||||
|
||||
// 全屏
|
||||
|
||||
Reference in New Issue
Block a user