Tool Call Card Alignment
Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -17,6 +17,15 @@ struct ToolCallCard: View {
|
|||||||
Button { expanded.toggle() } label: { header }
|
Button { expanded.toggle() } label: { header }
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
.hoverEffect(.highlight)
|
.hoverEffect(.highlight)
|
||||||
|
// Folded lock-lifecycle lines read as part of the edit card (always visible, not gated
|
||||||
|
// by expand), so the lock brackets its edit rather than sorting after it — as on the Mac.
|
||||||
|
if !group.lockLines.isEmpty {
|
||||||
|
VStack(alignment: .leading, spacing: 2) {
|
||||||
|
ForEach(Array(group.lockLines.enumerated()), id: \.offset) { _, lock in
|
||||||
|
LockLineRow(lock: lock)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
if expanded { details }
|
if expanded { details }
|
||||||
}
|
}
|
||||||
if inGroup {
|
if inGroup {
|
||||||
|
|||||||
Reference in New Issue
Block a user