before the great git rework
This commit is contained in:
@@ -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() {}
|
||||
|
||||
Reference in New Issue
Block a user