native macOS codings agent orchestrator
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove redundant nil default from optional pinnedSize properties

onevcat 12487feb c231e6ca

+3 -3
+3 -3
supacode/Features/Terminal/Views/TerminalSplitTreeView.swift
··· 4 4 5 5 struct TerminalSplitTreeView: View { 6 6 let tree: SplitTree<GhosttySurfaceView> 7 - var pinnedSize: CGSize? = nil 7 + var pinnedSize: CGSize? 8 8 let action: (Operation) -> Void 9 9 10 10 private static let dragType = UTType(exportedAs: "sh.supacode.ghosttySurfaceId") ··· 37 37 struct SubtreeView: View { 38 38 let node: SplitTree<GhosttySurfaceView>.Node 39 39 var isRoot: Bool = false 40 - var pinnedSize: CGSize? = nil 40 + var pinnedSize: CGSize? 41 41 let action: (Operation) -> Void 42 42 43 43 var body: some View { ··· 93 93 struct LeafView: View { 94 94 let surfaceView: GhosttySurfaceView 95 95 let isSplit: Bool 96 - var pinnedSize: CGSize? = nil 96 + var pinnedSize: CGSize? 97 97 let action: (Operation) -> Void 98 98 99 99 @State private var dropState: DropState = .idle