macos: fix new tab crash

It was introduced in 2a81d8cd2910b12fe007f0bc5fb5d6be57f0f0fe[0]. We
lost the subview. prefix of from the contains() call.

Co-authored-by: Brent Schroeter <github@brentsch.com>
Fixes: https://github.com/ghostty-org/ghostty/issues/10923
Link: 2a81d8cd29 [0]
This commit is contained in:
Tristan Partin
2026-02-21 09:03:58 -06:00
parent 02ca33d119
commit 407b3c082f

View File

@@ -65,7 +65,7 @@ extension NSView {
return true
}
for subview in subviews where contains(className: name) {
for subview in subviews where subview.contains(className: name) {
return true
}