From 80f76a6a33a25a6d80b41db2046576e41357e6b6 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 9 Nov 2022 07:07:34 -0600 Subject: [PATCH] fixed bug in strikethrough Signed-off-by: Matt Bruce --- VDS/Components/RadioBox/RadioBox.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VDS/Components/RadioBox/RadioBox.swift b/VDS/Components/RadioBox/RadioBox.swift index b5a3c252..e384fc35 100644 --- a/VDS/Components/RadioBox/RadioBox.swift +++ b/VDS/Components/RadioBox/RadioBox.swift @@ -225,6 +225,7 @@ open class RadioBoxBase: Control, BinaryColorable, Accessable, DataTrackable{ setAccessibilityHint() setAccessibilityValue(isSelected) setAccessibilityLabel(isSelected) + setNeedsDisplay() } @@ -278,7 +279,7 @@ open class RadioBoxBase: Control, BinaryColorable, Accessable, DataTrackable{ selectorView.layer.cornerRadius = selectorCornerRadius selectorView.layer.borderWidth = borderWidth - setNeedsDisplay() + layer.setNeedsDisplay() } open override func layoutSubviews() {