always allow the buttons to highlight regardless of a click handler
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
5c85bad48a
commit
6ce86b5ac1
@ -81,7 +81,7 @@ open class ButtonBase: UIButton, ViewProtocol, UserInfoable, Clickable {
|
||||
public var isHighlighting = false
|
||||
|
||||
/// Whether the Button should handle the isHighlighted state.
|
||||
open var shouldHighlight: Bool { isHighlighting == false && onClickSubscriber != nil }
|
||||
open var shouldHighlight: Bool { isHighlighting == false }
|
||||
|
||||
/// Whether the Control is highlighted or not.
|
||||
open override var isHighlighted: Bool {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user