Add bound to Node constructor.

This commit is contained in:
daxpedda 2020-02-14 15:57:07 +01:00
parent 457d6f616a
commit b72bd0b2b5
No known key found for this signature in database
GPG key ID: 43D62A3EA388E46F
13 changed files with 25 additions and 20 deletions

View file

@ -62,7 +62,7 @@ where
) -> layout::Node {
let limits = limits.width(self.width).height(self.height);
layout::Node::new(limits.resolve(Size::ZERO))
layout::Node::new(limits.resolve(Size::ZERO), Size::ZERO)
}
fn draw(