summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-10-05 19:15:14 +0200
committerLibravatar GitHub <noreply@github.com>2022-10-05 19:15:14 +0200
commitcd5a5f2ed23da06ea5a972df948fc735916ba7e1 (patch)
tree77ef43ef8d6aa857ec2b1a3b7cd2a26b99905413 /native
parent2278bade55b2bcd530c8c9a30a22d5f800921e55 (diff)
parentdbd76ea21c5f5dd8ad16632ba39dc672cec0fcbd (diff)
downloadiced-cd5a5f2ed23da06ea5a972df948fc735916ba7e1.tar.gz
iced-cd5a5f2ed23da06ea5a972df948fc735916ba7e1.tar.bz2
iced-cd5a5f2ed23da06ea5a972df948fc735916ba7e1.zip
Merge pull request #1331 from ThisIsRex/master
`is_selected` property for `Radio` `StyleSheet`
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)
};
{