From f4b8bce837513cdd06df3a3ceba86fd9256d3cc5 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Fri, 14 Feb 2020 21:41:35 +0100 Subject: Revert changing the constructor and implement new method. --- native/src/widget/space.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'native/src/widget/space.rs') diff --git a/native/src/widget/space.rs b/native/src/widget/space.rs index 899c258e..24c94bf6 100644 --- a/native/src/widget/space.rs +++ b/native/src/widget/space.rs @@ -62,7 +62,7 @@ where ) -> layout::Node { let limits = limits.width(self.width).height(self.height); - layout::Node::new(limits.resolve(Size::ZERO), Size::ZERO) + layout::Node::new(limits.resolve(Size::ZERO)) } fn draw( -- cgit