From 92586d3e6895f0895fb2c88abcdd5e7160482a5b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 10 Dec 2019 11:37:12 +0100 Subject: =?UTF-8?q?Progressing=20stack=20layouter=20=F0=9F=9A=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/flex.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/layout/flex.rs') diff --git a/src/layout/flex.rs b/src/layout/flex.rs index d984860a..fc1a09c0 100644 --- a/src/layout/flex.rs +++ b/src/layout/flex.rs @@ -33,7 +33,7 @@ impl FlexLine { FlexLine { usable, actions: LayoutActions::new(), - combined_dimensions: Size2D::zero(), + combined_dimensions: Size2D::ZERO, } } } @@ -51,7 +51,7 @@ impl PartialLine { PartialLine { usable, content: vec![], - dimensions: Size2D::zero(), + dimensions: Size2D::ZERO, space: LastSpacing::Hard, } } -- cgit v1.2.3