Skip to content

Commit 2771800

Browse files
committed
fix min height on manual input
1 parent bb2c45f commit 2771800

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

interview_coder/PanelView.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ struct PanelView: View {
257257
}
258258
}
259259
)
260-
.frame(minWidth: 960, minHeight: showNavigatorOverlay ? 600 : ((hasAnyAssistant || model.isGenerating) ? 640 : (model.manualInputPinned ? 400 : 240)))
260+
.frame(minWidth: 960, minHeight: showNavigatorOverlay ? 600 : ((hasAnyAssistant || model.isGenerating) ? 640 : ((model.manualInputPinned && KeyboardMonitor.manualInputOpenFlag) ? 400 : 240)))
261261
.background(
262262
VisualEffectView(material: .hudWindow, blending: .behindWindow, state: .active)
263263
.ignoresSafeArea(.container, edges: .top)
@@ -1331,7 +1331,7 @@ private var headerBar: some View { DragHost { headerContent }.zIndex(2) }
13311331
HStack(spacing: 6) {
13321332
Image(systemName: model.showManualInput ? "chevron.up" : "chevron.down")
13331333
.font(.subheadline)
1334-
Text(model.showManualInput ? "Collapse (⌘ESC)" : "Expand (⇧⌘↩)")
1334+
Text(model.showManualInput ? "Collapse (⌘ESC)" : "Expand (⇧⌘↩)")
13351335
.font(.footnote)
13361336
}
13371337
.foregroundStyle(.secondary)
@@ -1753,6 +1753,8 @@ private extension PanelView {
17531753
}
17541754
}
17551755
}
1756+
.frame(height: 180)
1757+
.transaction { $0.disablesAnimations = true }
17561758
.scrollDisabled(true)
17571759
}
17581760
.padding(.horizontal, 8)

0 commit comments

Comments
 (0)