ecc68a1047
- Opening: the notch spreads sideways then pours down with a slight overshoot; header and screen come out of a soft blur one after the other. - Chat: a purple→orange wave of bars instead of three dots while Claude answers. - Haptic tap (Force Touch trackpad) when the notch opens and on Allow/Deny. - Memoji turns its head toward the cursor clearly (slide, lean, slight shear). - A drop of the folded notch stretches toward the approaching cursor (within 130 pt), leaning to its side; its own ObservableObject so only the drop redraws at 30 Hz. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
250 B
Swift
10 lines
250 B
Swift
import AppKit
|
|
|
|
/// A light tap on the Force Touch trackpad (felt only while a finger rests on it).
|
|
@MainActor
|
|
enum Haptic {
|
|
static func tap() {
|
|
NSHapticFeedbackManager.defaultPerformer.perform(.levelChange, performanceTime: .now)
|
|
}
|
|
}
|