refactored
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
c7746874b6
commit
8603cd7cb1
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user