before the great git rework

This commit is contained in:
2026-10-30 11:27:44 +01:00
parent 9bdda896af
commit b9c03a7637
45 changed files with 70 additions and 562 deletions
+1 -3
View File
@@ -88,8 +88,6 @@ public enum Overlay: Equatable {
case search(seed: String)
/// `?`: the keyboard reference.
case shortcuts
/// ⌘N: the project note.
case note
/// Text the agent wrote to `.clean-copy`, to edit and copy.
case cleanCopy
case diff(DiffOverlayRequest)
@@ -110,7 +108,7 @@ public enum Overlay: Equatable {
public final class OverlayStore {
public private(set) var current = Overlay.none
/// Called with the old and new overlay on every change, however it happened, so closing
/// behaviour (the note saves, the Diff restores the mode) runs even when another overlay takes over.
/// behaviour (the Diff restores the mode) runs even when another overlay takes over.
@ObservationIgnored public var onChange: ((_ old: Overlay, _ new: Overlay) -> Void)?
public init() {}