Revert changing the constructor and implement new method.

This commit is contained in:
daxpedda 2020-02-14 21:41:35 +01:00
parent 60b40fdc99
commit f4b8bce837
No known key found for this signature in database
GPG key ID: 43D62A3EA388E46F
16 changed files with 39 additions and 44 deletions

View file

@ -84,7 +84,7 @@ mod bezier {
.height(Length::Fill)
.width(Length::Fill)
.resolve(Size::ZERO);
layout::Node::new(size, Size::ZERO)
layout::Node::new(size)
}
fn draw(