UI: liquid opening, staggered content, answer wave, haptics, gaze, notch drop
- 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>
This commit is contained in:
@@ -768,6 +768,14 @@ final class AppState: ObservableObject {
|
||||
|
||||
// MARK: - Supporting types
|
||||
|
||||
/// 0…1 while the folded notch waits for the cursor (1 = touching it). Its own object so
|
||||
/// that updating it at 30 Hz redraws only the drop, not every view watching AppState.
|
||||
@MainActor
|
||||
final class NotchProximity: ObservableObject {
|
||||
static let shared = NotchProximity()
|
||||
@Published var value: CGFloat = 0
|
||||
}
|
||||
|
||||
enum PromptContext {
|
||||
case window(appName: String, title: String, url: String?)
|
||||
case file(name: String, fileURL: URL?)
|
||||
|
||||
Reference in New Issue
Block a user