mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 05:20:29 +00:00
macos: fix new tab crash (#10924)
It was introduced in 2a81d8cd2910b12fe007f0bc5fb5d6be57f0f0fe[0]. We
lost the subview. prefix of from the contains() call.
Fixes: https://github.com/ghostty-org/ghostty/issues/10923
Link:
2a81d8cd29
[0]
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user