merge modal location

This commit is contained in:
Ian Gulliver
2026-10-17 08:51:59 -07:00
parent 38643e65f5
commit 3e537c827d
5 changed files with 35 additions and 16 deletions
+6
View File
@@ -180,6 +180,7 @@ private struct LeftPane: View {
private struct TaskPane: View {
@Environment(Store.self) private var store
@Environment(Overlays.self) private var overlays
@ViewState private var seen: Set<String> = []
var body: some View {
@@ -198,6 +199,11 @@ private struct TaskPane: View {
} action: { frame in
store.paneFocus.setFrame(frame)
}
.onGeometryChange(for: CGRect.self) { g in
g.frame(in: .named("window"))
} action: { frame in
overlays.paneFrame = frame
}
.onAppear {
seen = Set(store.inbox.map(\.id))
}