style: align notes controls with action pills
This commit is contained in:
@@ -59,7 +59,9 @@ import Testing
|
||||
})
|
||||
window.makeFirstResponder(output)
|
||||
} else if destination == "notes-editor" {
|
||||
let editor = try #require(descendants(content).compactMap { $0 as? NotesTextView }.first)
|
||||
let editor = try #require(descendants(content).compactMap { $0 as? NSTextView }.first {
|
||||
$0.accessibilityLabel() == "Note editor"
|
||||
})
|
||||
window.makeFirstResponder(editor)
|
||||
}
|
||||
#expect(window.isVisible)
|
||||
|
||||
Reference in New Issue
Block a user