diff options
Diffstat (limited to 'src/button.rs')
| -rw-r--r-- | src/button.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/button.rs b/src/button.rs index c4009c5..5fec1a8 100644 --- a/src/button.rs +++ b/src/button.rs @@ -31,7 +31,7 @@ pub fn styled( let active = Style { background: Some(Background::Color(background)), text_color: foreground, - border: border::rounded(400), + border: border::rounded(9999), shadow: shadow_from_elevation(elevation(elevation_level), shadow_color), snap: CRISP, }; @@ -61,7 +61,7 @@ pub fn styled( Status::Disabled => Style { background: Some(Background::Color(disabled_container(disabled))), text_color: disabled_text(disabled), - border: border::rounded(400), + border: border::rounded(9999), ..Default::default() }, } @@ -113,12 +113,12 @@ pub fn outlined(theme: &Theme, status: Status) -> Style { Status::Active | Status::Pressed | Status::Hovered => Border { color: outline, width: 1.0, - radius: 400.into(), + radius: 9999.into(), }, Status::Disabled => Border { color: disabled_container(disabled), width: 1.0, - radius: 400.into(), + radius: 9999.into(), }, }; |
