Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Tooltips for Btns In Navigator Bottom Toolbar #1668

Merged
merged 2 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Expand Up @@ -27,6 +27,7 @@ struct FindNavigatorToolbarBottom: View {
: Color(nsColor: .controlAccentColor)
)
.padding(.leading, 4)
.help("Show results with mathing text")
austincondiff marked this conversation as resolved.
Show resolved Hide resolved
0xWDG marked this conversation as resolved.
Show resolved Hide resolved
},
clearable: true
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,18 @@ struct ProjectNavigatorToolbarBottom: View {
? Color(nsColor: .secondaryLabelColor)
: Color(nsColor: .controlAccentColor)
)
.help("Show files with matching name")
},
trailingAccessories: {
HStack(spacing: 0) {
Toggle(isOn: $recentsFilter) {
Image(systemName: "clock")
}
.help("Show only recent files")
Toggle(isOn: $sourceControlFilter) {
Image(systemName: "plusminus.circle")
}
.help("Show only files with source-control status")
}
.toggleStyle(.icon(font: .system(size: 14), size: CGSize(width: 18, height: 20)))
.padding(.trailing, 2.5)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ struct SourceControlNavigatorToolbarBottom: View {
: Color(nsColor: .controlAccentColor)
)
.padding(.leading, 4)
.help("Filter Changes Navigator")
},
clearable: true
)
Expand Down
Loading