From 4e3c848b2f590dbe4cc5bf46d60d092dbe431421 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 27 Apr 2023 15:12:29 -0500 Subject: [PATCH] added touch guidlines when the view's parent has space for it Signed-off-by: Matt Bruce --- VDS/Components/Tooltip/Tooltip.swift | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/VDS/Components/Tooltip/Tooltip.swift b/VDS/Components/Tooltip/Tooltip.swift index 41aea54c..022da1d1 100644 --- a/VDS/Components/Tooltip/Tooltip.swift +++ b/VDS/Components/Tooltip/Tooltip.swift @@ -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) + } + +}