refactored

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-09-14 19:17:18 -05:00
parent c7746874b6
commit 8603cd7cb1

View File

@ -78,12 +78,7 @@ open class Control: UIControl, ViewProtocol, UserInfoable, Clickable {
}
/// Whether the Control is enabled or not.
open override var isEnabled: Bool {
didSet {
setNeedsUpdate()
//isUserInteractionEnabled = isEnabled
}
}
open override var isEnabled: Bool { didSet { setNeedsUpdate() } }
//--------------------------------------------------
// MARK: - Lifecycle