diff options
author | 2022-12-02 21:10:44 +0100 | |
---|---|---|
committer | 2022-12-02 21:10:44 +0100 | |
commit | 91d5516474dcb9494987f264783ad1400781b025 (patch) | |
tree | 11376e29c3c1358f7576e502366a990db9fb1c08 /examples/custom_widget/src | |
parent | da244ff8048e0b339c1502372894a2460a637241 (diff) | |
parent | 60e41666d0e203d9777de981121c39f569bc3a7b (diff) | |
download | iced-91d5516474dcb9494987f264783ad1400781b025.tar.gz iced-91d5516474dcb9494987f264783ad1400781b025.tar.bz2 iced-91d5516474dcb9494987f264783ad1400781b025.zip |
Merge pull request #1506 from rksm/non-uniform-border-radius-for-quads
non uniform border radius for quads
Diffstat (limited to 'examples/custom_widget/src')
-rw-r--r-- | examples/custom_widget/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_widget/src/main.rs b/examples/custom_widget/src/main.rs index c37a1a12..f6bb3b1e 100644 --- a/examples/custom_widget/src/main.rs +++ b/examples/custom_widget/src/main.rs @@ -61,7 +61,7 @@ mod circle { renderer.fill_quad( renderer::Quad { bounds: layout.bounds(), - border_radius: self.radius, + border_radius: self.radius.into(), border_width: 0.0, border_color: Color::TRANSPARENT, }, |