diff options
| author | 2022-12-13 09:31:57 +0100 | |
|---|---|---|
| committer | 2022-12-13 09:31:57 +0100 | |
| commit | 2e6d90f141217bad83eacd392562c13d7485881f (patch) | |
| tree | baa2c507076073aed4fd24abc9c7a7949d85c039 /native/src/widget/checkbox.rs | |
| parent | ba95042fff378213f5029b2b164d79e768482a47 (diff) | |
| parent | 02182eea45537c9eb5b2bddfdff822bb8a3d143d (diff) | |
| download | iced-2e6d90f141217bad83eacd392562c13d7485881f.tar.gz iced-2e6d90f141217bad83eacd392562c13d7485881f.tar.bz2 iced-2e6d90f141217bad83eacd392562c13d7485881f.zip | |
Merge branch 'master' into feat/slider-orientation
Diffstat (limited to 'native/src/widget/checkbox.rs')
| -rw-r--r-- | native/src/widget/checkbox.rs | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/native/src/widget/checkbox.rs b/native/src/widget/checkbox.rs index dc3c0bd0..bec5c448 100644 --- a/native/src/widget/checkbox.rs +++ b/native/src/widget/checkbox.rs @@ -224,9 +224,9 @@ where          let mut children = layout.children();          let custom_style = if is_mouse_over { -            theme.hovered(self.style, self.is_checked) +            theme.hovered(&self.style, self.is_checked)          } else { -            theme.active(self.style, self.is_checked) +            theme.active(&self.style, self.is_checked)          };          { @@ -236,7 +236,7 @@ where              renderer.fill_quad(                  renderer::Quad {                      bounds, -                    border_radius: custom_style.border_radius, +                    border_radius: custom_style.border_radius.into(),                      border_width: custom_style.border_width,                      border_color: custom_style.border_color,                  }, | 
