summaryrefslogtreecommitdiffstats
path: root/graphics/src/renderer.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-08 04:59:34 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-08 04:59:34 +0100
commit676d8efe03ebdbeeb95aef96b8097395b788b1ab (patch)
treed552fce66b5be56fbd49544c8dfb8fca6e9dd46d /graphics/src/renderer.rs
parent15f21641b7a27bbfb99f9f9f5d21b84445173900 (diff)
downloadiced-676d8efe03ebdbeeb95aef96b8097395b788b1ab.tar.gz
iced-676d8efe03ebdbeeb95aef96b8097395b788b1ab.tar.bz2
iced-676d8efe03ebdbeeb95aef96b8097395b788b1ab.zip
Rename `QuadBorderRadius` to `BorderRadius`
Diffstat (limited to 'graphics/src/renderer.rs')
-rw-r--r--graphics/src/renderer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs
index 46d37cd6..ff0dad2b 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.to_array(),
+ border_radius: quad.border_radius.into(),
border_width: quad.border_width,
border_color: quad.border_color,
});