From e4cbb4cf30133f3c8bf3afc400c172c9020e8050 Mon Sep 17 00:00:00 2001 From: dom Date: Tue, 23 Jun 2026 11:10:39 +0800 Subject: [PATCH] update default spring description Signed-off-by: dom --- lib/utils/storage_pref.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/utils/storage_pref.dart b/lib/utils/storage_pref.dart index e7d6bc582..4fc4c1b56 100644 --- a/lib/utils/storage_pref.dart +++ b/lib/utils/storage_pref.dart @@ -1,5 +1,5 @@ import 'dart:io'; -import 'dart:math' show pow, sqrt; +import 'dart:math' show pow; import 'package:PiliPlus/common/widgets/gesture/horizontal_drag_gesture_recognizer.dart' show deviceTouchSlop; @@ -106,8 +106,10 @@ abstract final class Pref { static List get springDescription => List.from( _setting.get(SettingBoxKey.springDescription) ?? - [0.5, 100.0, 2.2 * sqrt(50)], // [mass, stiffness, damping] + // duration: 0.3, bounce: 0.0 + const [1.0, 438.64908449286037, 41.88790204786391], ); + // [0.5, 100.0, 2.2 * math.sqrt(50)], // [mass, stiffness, damping] static List get speedList => List.from( _video.get(