mod: danmaku

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-27 10:39:53 +08:00
parent 91fc383723
commit 8e8dc273aa
11 changed files with 22 additions and 29 deletions

View File

@@ -87,7 +87,7 @@ class _FontSizeSelectPageState extends State<FontSizeSelectPage> {
divisions: list.length - 1,
secondaryTrackValue: 1,
onChanged: (double val) {
currentSize = double.parse(val.toStringAsFixed(2));
currentSize = val.toPrecision(2);
setState(() {});
},
),