[WIP] Monoforums

This commit is contained in:
Isaac
2025-05-05 18:02:50 +02:00
parent 65a0b41071
commit cbb09e4780
20 changed files with 4306 additions and 2108 deletions

View File

@@ -4,18 +4,11 @@ import AsyncDisplayKit
final class ChatControllerTitlePanelNodeContainer: ASDisplayNode {
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
if self.bounds.contains(point) {
if let subnodes = self.subnodes {
for subnode in subnodes {
if subnode.frame.contains(point) {
if let result = subnode.view.hitTest(self.view.convert(point, to: subnode.view), with: event) {
return result
}
}
}
for subview in self.view.subviews {
if let result = subview.hitTest(self.view.convert(point, to: subview), with: event) {
return result
}
return nil
}
return super.hitTest(point, with: event)
return nil
}
}