Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion macos/Sources/RustCode/TranscriptRows.swift
Original file line number Diff line number Diff line change
Expand Up @@ -595,9 +595,12 @@ private struct FileChangeView: View {
ZStack(alignment: .topLeading) {
VStack(spacing: 0) {
ForEach(Array(rows.enumerated()), id: \.offset) { _, row in
// A plain rectangle: a colour set as the background of
// the hidden line is drawn rounded on current macOS,
// which made each changed line a pill of its own.
Text(" ").hidden()
.frame(maxWidth: .infinity)
.background(band(row))
.background { Rectangle().fill(band(row)) }
}
}
HStack(alignment: .top, spacing: 6) {
Expand Down
Loading