fix: open notes footer popups upwards
This commit is contained in:
@@ -252,7 +252,7 @@ final class ApplicationActionsController: NSViewController, NSSearchFieldDelegat
|
||||
selectionAccessibilityLabel = "Notes"
|
||||
currentChoiceAccessibilityLabel = "Current note"
|
||||
show(title: "Browse Notes", relativeTo: anchor, available: [],
|
||||
searchAccessibilityLabel: "Search notes", belowAnchor: true,
|
||||
searchAccessibilityLabel: "Search notes",
|
||||
selectionChoices: notes.map {
|
||||
SelectionChoice(id: .note($0.id), title: $0.title, searchText: FuzzySearchText($0.title))
|
||||
}, selectionName: "notes")
|
||||
@@ -260,7 +260,7 @@ final class ApplicationActionsController: NSViewController, NSSearchFieldDelegat
|
||||
|
||||
func showNotesActions(relativeTo anchor: NSView) {
|
||||
show(title: "Notes", relativeTo: anchor, available: [12, 13, 14],
|
||||
searchAccessibilityLabel: "Search notes actions", belowAnchor: true)
|
||||
searchAccessibilityLabel: "Search notes actions")
|
||||
}
|
||||
|
||||
private func show(title: String, relativeTo anchor: NSView, available: [Int], emoji: Bool = false,
|
||||
|
||||
Reference in New Issue
Block a user