summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/canvas/frame.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-11 15:53:33 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-11 15:53:33 +0200
commitfe34b7a339261d8fc9a96bf993d529c2ad37299c (patch)
treedc4ce23dd8b1a1c6852c1e36f31289be69fac4bd /graphics/src/widget/canvas/frame.rs
parentd1505a98d967f36679f8b7d98347ba03a4c2af1c (diff)
downloadiced-fe34b7a339261d8fc9a96bf993d529c2ad37299c.tar.gz
iced-fe34b7a339261d8fc9a96bf993d529c2ad37299c.tar.bz2
iced-fe34b7a339261d8fc9a96bf993d529c2ad37299c.zip
Update `lyon` to `1.0` :tada:
Congrats and thanks to @nical!
Diffstat (limited to 'graphics/src/widget/canvas/frame.rs')
-rw-r--r--graphics/src/widget/canvas/frame.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/widget/canvas/frame.rs b/graphics/src/widget/canvas/frame.rs
index 8e198b29..0a164fa8 100644
--- a/graphics/src/widget/canvas/frame.rs
+++ b/graphics/src/widget/canvas/frame.rs
@@ -144,7 +144,7 @@ impl Frame {
let _ = self
.fill_tessellator
.tessellate_rectangle(
- &lyon::math::Rect::new(top_left, size.into()),
+ &lyon::math::Box2D::new(top_left, top_left + size),
&options,
&mut buffers,
)