added touch guidlines when the view's parent has space for it

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-04-27 15:12:29 -05:00
parent fa89251bd3
commit 4e3c848b2f

View File

@ -172,3 +172,12 @@ open class Tooltip: Control, TooltipLaunchable {
} }
} }
// MARK: AppleGuidlinesTouchable
extension Tooltip: AppleGuidlinesTouchable {
override open func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
Self.acceptablyOutsideBounds(point: point, bounds: bounds)
}
}