fixed bug for trailing tooltip

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-07-27 15:32:14 -05:00
parent 0da74efd9d
commit 33163a6183

View File

@ -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