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.
|
/// Whether the Control is enabled or not.
|
||||||
open override var isEnabled: Bool {
|
open override var isEnabled: Bool { didSet { setNeedsUpdate() } }
|
||||||
didSet {
|
|
||||||
setNeedsUpdate()
|
|
||||||
//isUserInteractionEnabled = isEnabled
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Lifecycle
|
// MARK: - Lifecycle
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user