summaryrefslogtreecommitdiffstats
path: root/style/src/radio.rs
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 /style/src/radio.rs
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--style/src/radio.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/style/src/radio.rs b/style/src/radio.rs
index a4d4a83b..d14ea33e 100644
--- a/style/src/radio.rs
+++ b/style/src/radio.rs
@@ -15,7 +15,7 @@ pub struct Appearance {
pub trait StyleSheet {
type Style: Default + Copy;
- fn active(&self, style: Self::Style) -> Appearance;
+ fn active(&self, style: Self::Style, is_selected: bool) -> Appearance;
- fn hovered(&self, style: Self::Style) -> Appearance;
+ fn hovered(&self, style: Self::Style, is_selected: bool) -> Appearance;
}