diff options
| author | pml68 <contact@pml68.dev> | 2025-04-22 14:35:39 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-04-22 14:35:39 +0200 |
| commit | 674d1bb1f50707c3473a675820f7c2dc5cbb2e15 (patch) | |
| tree | e96b40122f3e7b9caadbd1fa23f31063a8ccddf8 /crates | |
| parent | refactor: apply some clippy suggestions (diff) | |
| download | iced-builder-674d1bb1f50707c3473a675820f7c2dc5cbb2e15.tar.gz | |
fix(material_theme): disabled checkbox border being fully opaque
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/material_theme/src/toggler.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/material_theme/src/toggler.rs b/crates/material_theme/src/toggler.rs index 1cc5082..8949d07 100644 --- a/crates/material_theme/src/toggler.rs +++ b/crates/material_theme/src/toggler.rs @@ -74,7 +74,10 @@ pub fn default(theme: &Theme, status: Status) -> Style { a: DISABLED_TEXT_OPACITY, ..surface.on_surface }, - Some(surface.on_surface), + Some(Color { + a: DISABLED_TEXT_OPACITY, + ..surface.on_surface + }), ), } } |
