mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: set playback speed
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1520,7 +1520,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
||||
danmakuController?.updateOption(
|
||||
danmakuController.option.copyWith(
|
||||
duration:
|
||||
danmakuDuration ~/ widget.controller.playbackSpeed),
|
||||
danmakuDuration / widget.controller.playbackSpeed),
|
||||
);
|
||||
} catch (_) {}
|
||||
}
|
||||
@@ -1534,7 +1534,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
||||
try {
|
||||
danmakuController?.updateOption(
|
||||
danmakuController.option.copyWith(
|
||||
staticDuration: danmakuStaticDuration ~/
|
||||
staticDuration: danmakuStaticDuration /
|
||||
widget.controller.playbackSpeed),
|
||||
);
|
||||
} catch (_) {}
|
||||
|
||||
Reference in New Issue
Block a user