summaryrefslogtreecommitdiffstats
path: root/style/src/toggler.rs
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 /style/src/toggler.rs
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--style/src/toggler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/style/src/toggler.rs b/style/src/toggler.rs
index 4ee7db46..0acf8e97 100644
--- a/style/src/toggler.rs
+++ b/style/src/toggler.rs
@@ -2,7 +2,7 @@
use iced_core::Color;
/// The appearance of a toggler.
-#[derive(Debug)]
+#[derive(Debug, Clone, Copy)]
pub struct Appearance {
pub background: Color,
pub background_border: Option<Color>,