diff options
author | 2022-11-03 00:35:01 +0100 | |
---|---|---|
committer | 2022-11-03 22:48:26 +0100 | |
commit | c0596179bd8582e4f4b5289cdeee8de4fa3de464 (patch) | |
tree | b1ed80cf49aa846ba7a93cc97128c3ec6eadd123 /graphics/src/renderer.rs | |
parent | d222b5c8b0befab665c20ba0112b28199df0ae44 (diff) | |
download | iced-c0596179bd8582e4f4b5289cdeee8de4fa3de464.tar.gz iced-c0596179bd8582e4f4b5289cdeee8de4fa3de464.tar.bz2 iced-c0596179bd8582e4f4b5289cdeee8de4fa3de464.zip |
non uniform border radius for quads
Diffstat (limited to 'graphics/src/renderer.rs')
-rw-r--r-- | graphics/src/renderer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs index cdbc4f40..46d37cd6 100644 --- a/graphics/src/renderer.rs +++ b/graphics/src/renderer.rs @@ -109,7 +109,7 @@ where self.primitives.push(Primitive::Quad { bounds: quad.bounds, background: background.into(), - border_radius: quad.border_radius, + border_radius: quad.border_radius.to_array(), border_width: quad.border_width, border_color: quad.border_color, }); |