fix: open notes footer popups upwards

This commit is contained in:
2026-10-19 22:41:11 +02:00
parent 1804f679fc
commit 47f8f62b80
2 changed files with 4 additions and 4 deletions
@@ -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,