Update lyon to 1.0 🎉

Congrats and thanks to @nical!
This commit is contained in:
Héctor Ramón Jiménez 2022-07-11 15:53:33 +02:00
parent d1505a98d9
commit fe34b7a339
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 8 additions and 9 deletions

View file

@ -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,
)