From 33163a61834263a807372a19be6a859326fca69d Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 27 Jul 2023 15:32:14 -0500 Subject: [PATCH] fixed bug for trailing tooltip Signed-off-by: Matt Bruce --- VDS/Components/Label/Label.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VDS/Components/Label/Label.swift b/VDS/Components/Label/Label.swift index f2f83116..0e78d762 100644 --- a/VDS/Components/Label/Label.swift +++ b/VDS/Components/Label/Label.swift @@ -97,7 +97,7 @@ open class Label: UILabel, Handlerable, ViewProtocol, Resettable, UserInfoable { .sink { [weak self] notification in self?.setNeedsUpdate() }.store(in: &subscribers) - + isUserInteractionEnabled = true backgroundColor = .clear numberOfLines = 0 lineBreakMode = .byWordWrapping @@ -120,6 +120,7 @@ open class Label: UILabel, Handlerable, ViewProtocol, Resettable, UserInfoable { textStyle = .defaultStyle textPosition = .left text = nil + isUserInteractionEnabled = true attributedText = nil numberOfLines = 0 backgroundColor = .clear