summaryrefslogtreecommitdiffstats
path: root/examples/pokedex/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pokedex/src/main.rs')
-rw-r--r--examples/pokedex/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pokedex/src/main.rs b/examples/pokedex/src/main.rs
index 30674fa0..187e5dee 100644
--- a/examples/pokedex/src/main.rs
+++ b/examples/pokedex/src/main.rs
@@ -251,7 +251,7 @@ mod style {
background: Some(Background::Color(match self {
Button::Primary => Color::from_rgb(0.11, 0.42, 0.87),
})),
- border_radius: 12,
+ border_radius: 12.0,
shadow_offset: Vector::new(1.0, 1.0),
text_color: Color::WHITE,
..button::Style::default()