summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Bingus <shankern@protonmail.com>2022-10-07 16:58:45 -0700
committerLibravatar GitHub <noreply@github.com>2022-10-07 16:58:45 -0700
commitaabc4e87b51af8025910681dc427260254877e4c (patch)
tree44dc50e04e58c15871cc56d22221dc43685d1d58 /native
parent7a124476b1f609019bb0fdfa1254236af2d2a49e (diff)
parent77c838011fe6f8f567389d5994584a1a1b8420c5 (diff)
downloadiced-aabc4e87b51af8025910681dc427260254877e4c.tar.gz
iced-aabc4e87b51af8025910681dc427260254877e4c.tar.bz2
iced-aabc4e87b51af8025910681dc427260254877e4c.zip
Merge branch 'master' into fear/linear-gradients
Diffstat (limited to '')
-rw-r--r--native/src/widget/radio.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/widget/radio.rs b/native/src/widget/radio.rs
index c9152d05..cb83f745 100644
--- a/native/src/widget/radio.rs
+++ b/native/src/widget/radio.rs
@@ -230,9 +230,9 @@ where
let mut children = layout.children();
let custom_style = if is_mouse_over {
- theme.hovered(self.style)
+ theme.hovered(self.style, self.is_selected)
} else {
- theme.active(self.style)
+ theme.active(self.style, self.is_selected)
};
{