Files
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 lines
603 B
Swift
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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
}