diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-12-11 22:06:54 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-12-11 22:06:54 +0100 |
| commit | a791ef162868c65284903ab479731e0dc9e7a223 (patch) | |
| tree | 28384c5647086db87c822b186860492dfce23af3 /src/layout/flex.rs | |
| parent | d34707a6ae058560140c83af21365884451e9274 (diff) | |
Pretty good stack layouter ✈
Diffstat (limited to 'src/layout/flex.rs')
| -rw-r--r-- | src/layout/flex.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/flex.rs b/src/layout/flex.rs index fc1a09c0..48853863 100644 --- a/src/layout/flex.rs +++ b/src/layout/flex.rs @@ -66,6 +66,7 @@ pub struct FlexContext { pub axes: LayoutAxes, pub alignment: LayoutAlignment, pub flex_spacing: Size, + pub debug: bool, } impl FlexLayouter { @@ -75,6 +76,7 @@ impl FlexLayouter { spaces: ctx.spaces, axes: ctx.axes, alignment: ctx.alignment, + debug: ctx.debug, }); let usable = stack.primary_usable(); @@ -176,7 +178,6 @@ impl FlexLayouter { unimplemented!() } - #[allow(dead_code)] fn finish_partial_line(&mut self) { unimplemented!() } |
