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:
@@ -1491,8 +1491,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
||||
value: danmakuLineHeight,
|
||||
label: '$danmakuLineHeight',
|
||||
onChanged: (double val) {
|
||||
danmakuLineHeight =
|
||||
double.parse(val.toStringAsFixed(1));
|
||||
danmakuLineHeight = val.toPrecision(1);
|
||||
widget.controller!.danmakuLineHeight =
|
||||
danmakuLineHeight;
|
||||
widget.controller?.putDanmakuSettings();
|
||||
|
||||
Reference in New Issue
Block a user