项目文件夹

文件
wehub-resource-sync 1d1286fadb
Build / Build and test (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:18:38 +08:00

14 行
603 B
Swift

此文件含有模棱两可的 Unicode 字符
此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。
import Foundation
/// Shared page-snap animation constants. The edge-turner dwell/cooldown
/// invariants are asserted against these in tests, so changing the spring here
/// trips the same red light — keep spring parameters and the settle estimate in
/// this one place.
enum LaunchpadPageAnimation {
static let snapResponse: Double = 0.34
static let snapDamping: Double = 0.86
/// Conservative perceptual settle time for the snap spring (≈1.9× response
/// at ζ≈0.86). Dwell and repeat-cooldown must never undercut this.
static let snapVisualSettle: TimeInterval = 0.65
}