diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-12-12 23:33:26 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-12-12 23:33:26 +0100 |
| commit | f549914ff8d66e48e779d4d99898a224bd1ab701 (patch) | |
| tree | 12dddf9feb18a39bc05aa69fe8d9b5eac802dfaf /src/library/boxed.rs | |
| parent | ff107cf3e75acf041f8b7631337d299cdeaa1685 (diff) | |
Refine and rename layouting types 🛀
Diffstat (limited to 'src/library/boxed.rs')
| -rw-r--r-- | src/library/boxed.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/library/boxed.rs b/src/library/boxed.rs index 0428e746..c205eec6 100644 --- a/src/library/boxed.rs +++ b/src/library/boxed.rs @@ -21,15 +21,13 @@ function! { } layout(self, mut ctx) { - use SpecificAxisKind::*; - ctx.debug = self.debug; let space = &mut ctx.spaces[0]; self.map.apply_with(ctx.axes, |axis, p| { let entity = match axis { - Horizontal => { space.expand.horizontal = true; &mut space.dimensions.x }, - Vertical => { space.expand.vertical = true; &mut space.dimensions.y }, + Horizontal => { space.expansion.horizontal = true; &mut space.dimensions.x }, + Vertical => { space.expansion.vertical = true; &mut space.dimensions.y }, }; *entity = p.concretize(*entity) |
