feat(macos): add menu Canvas open/close

This commit is contained in:
Peter Steinberger
2025-12-17 11:53:57 +01:00
parent be9b550209
commit 81a9439eb2
4 changed files with 23 additions and 0 deletions

View File

@@ -160,6 +160,9 @@ final class AppState {
didSet { self.ifNotPreview { UserDefaults.standard.set(self.canvasEnabled, forKey: canvasEnabledKey) } }
}
/// Tracks whether the Canvas panel is currently visible (not persisted).
var canvasPanelVisible: Bool = false
var peekabooBridgeEnabled: Bool {
didSet {
self.ifNotPreview {