diff options
| author | pml68 <contact@pml68.dev> | 2025-04-22 14:33:36 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-04-22 14:33:36 +0200 |
| commit | c3c05cef555de305729e53cef8b8e660e31eaf27 (patch) | |
| tree | a8f590846fe9b122361a12607e49e1be91d5bc72 /crates/material_theme/src/button.rs | |
| parent | feat: use `pane_grid::Controls` for PaneGrid titlebar controls (diff) | |
| download | iced-builder-c3c05cef555de305729e53cef8b8e660e31eaf27.tar.gz | |
refactor: apply some clippy suggestions
Diffstat (limited to 'crates/material_theme/src/button.rs')
| -rw-r--r-- | crates/material_theme/src/button.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/material_theme/src/button.rs b/crates/material_theme/src/button.rs index 21d77b7..e1369eb 100644 --- a/crates/material_theme/src/button.rs +++ b/crates/material_theme/src/button.rs @@ -143,7 +143,7 @@ pub fn outlined(theme: &Theme, status: Status) -> Style { Status::Active | Status::Pressed | Status::Hovered => Border { color: outline, width: 1.0, - radius: 400.0.into(), + radius: 400.into(), }, Status::Disabled => Border { color: Color { @@ -151,7 +151,7 @@ pub fn outlined(theme: &Theme, status: Status) -> Style { ..disabled }, width: 1.0, - radius: 400.0.into(), + radius: 400.into(), }, }; |
