updates to launcer
This commit is contained in:
@@ -832,7 +832,7 @@ struct OrionHelpView: View {
|
||||
}
|
||||
.labelsHidden()
|
||||
.pickerStyle(.menu)
|
||||
.frame(maxWidth: .infinity)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
|
||||
HStack(spacing: 8) {
|
||||
Image(systemName: "magnifyingglass")
|
||||
@@ -841,6 +841,18 @@ struct OrionHelpView: View {
|
||||
TextField("Search components", text: $search)
|
||||
.textFieldStyle(.plain)
|
||||
.foregroundStyle(.white)
|
||||
|
||||
if !search.isEmpty {
|
||||
Button {
|
||||
search = ""
|
||||
} label: {
|
||||
Image(systemName: "xmark.circle.fill")
|
||||
.foregroundStyle(.white.opacity(0.55))
|
||||
.font(.system(size: 14))
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.help("Clear search")
|
||||
}
|
||||
}
|
||||
.padding(10)
|
||||
.background(
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user