From 04a5fddf480caf8085e9e9d870974dbf7c569d95 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 11 Jan 2023 11:26:12 -0600 Subject: [PATCH] flipped off by default but only set if "touchUpInside" publisher is set Signed-off-by: Matt Bruce --- VDS/Classes/Control.swift | 2 +- VDS/Publishers/UIControlPublisher.swift | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/VDS/Classes/Control.swift b/VDS/Classes/Control.swift index ba2acd42..cba0078d 100644 --- a/VDS/Classes/Control.swift +++ b/VDS/Classes/Control.swift @@ -29,7 +29,7 @@ open class Control: UIControl, Handlerable, ViewProtocol, Resettable { open override var isSelected: Bool { didSet { didChange() } } - internal var enabledHighlight: Bool = true + internal var enabledHighlight: Bool = false var isHighlightAnimating = false open override var isHighlighted: Bool { diff --git a/VDS/Publishers/UIControlPublisher.swift b/VDS/Publishers/UIControlPublisher.swift index bfcf6b5b..404fe7c5 100644 --- a/VDS/Publishers/UIControlPublisher.swift +++ b/VDS/Publishers/UIControlPublisher.swift @@ -17,6 +17,12 @@ public final class UIControlSubscription