Add bound to Node constructor.
This commit is contained in:
parent
457d6f616a
commit
b72bd0b2b5
13 changed files with 25 additions and 20 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue