Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import CmuxNextDaemon
import CmuxNextDesign
import SwiftUI
import CmuxNextTasks

Expand Down Expand Up @@ -27,6 +28,7 @@ struct WorkspaceTodoPageView: View {
WorkspaceTodoRow(item: item, isEditing: editing == item.id, actions: actions)
}
}
.thinScrollers()
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ struct BrowserDownloadsPopupView: View {
.frame(height: Self.rowHeight)
}
}
.thinScrollers()
.id(model.shows)
.padding(.vertical, 4)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ struct VaultListView: View {
VaultRowView(row: row, isSelected: row.id == selection, colors: colors, actions: actions)
}
}
.thinScrollers()
.padding(.horizontal, Metrics.panelInset / 2)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,9 @@ final class ExtensionsMenuView: NSView {
scrollView.drawsBackground = false
scrollView.hasVerticalScroller = true
scrollView.hasHorizontalScroller = false
scrollView.autohidesScrollers = true
scrollView.scrollerStyle = .overlay
scrollView.verticalScrollElasticity = .none
scrollView.documentView = list
SystemScrollers.follow(scrollView)
for view in [titleLabel, siteLabel, closeButton, headerSeparator, fade, empty, footerSeparator, manageButton,
webStoreButton] as [NSView] { addSubview(view) }
setAccessibilityElement(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public struct ChiefMemoryInspectorView: View {
}
}
}
.thinScrollers()
.padding(6)
}
}
Expand Down Expand Up @@ -135,6 +136,7 @@ public struct ChiefMemoryInspectorView: View {
Divider()
changeList
}
.thinScrollers()
.padding(12)
.frame(maxWidth: .infinity, alignment: .leading)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ struct HomeGroupInfoView: View {
memberRow(member)
}
}
.thinScrollers()
}
.frame(maxHeight: 200)
.fixedSize(horizontal: false, vertical: fits)
Expand Down Expand Up @@ -136,6 +137,7 @@ struct HomeGroupInfoView: View {
contactRow(contact, isChosen: chosen.contains(contact.id))
}
}
.thinScrollers()
}
.frame(maxHeight: 160)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ final class SidebarPullRequestCardView: NSView, HoverCardTextReporting {
super.init(frame: frame)
scroll.drawsBackground = false
scroll.hasVerticalScroller = true
scroll.autohidesScrollers = true
scroll.scrollerStyle = .overlay
scroll.documentView = list
SystemScrollers.follow(scroll)
addSubview(scroll)
setAccessibilityElement(true)
setAccessibilityRole(.list)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading