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]
pull/10924/head
parent
02ca33d119
commit
407b3c082f
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue