mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-25 20:00:13 +08:00
update default spring description
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -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<double> get springDescription => List<double>.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<double> get speedList => List<double>.from(
|
||||
_video.get(
|
||||
|
||||
Reference in New Issue
Block a user