mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
mod: danmaku
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// ignore_for_file: library_private_types_in_public_api
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class ExpandedSection extends StatefulWidget {
|
||||
@@ -17,7 +15,7 @@ class ExpandedSection extends StatefulWidget {
|
||||
});
|
||||
|
||||
@override
|
||||
_ExpandedSectionState createState() => _ExpandedSectionState();
|
||||
State<ExpandedSection> createState() => _ExpandedSectionState();
|
||||
}
|
||||
|
||||
class _ExpandedSectionState extends State<ExpandedSection>
|
||||
|
||||
@@ -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