diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-03 00:12:09 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-03 00:12:09 +0100 |
| commit | aae67bd572ad86f4c57e364daa51a9dc883b8913 (patch) | |
| tree | 0aba021e0748ebad2197ea390385ec5f93ccbc6e /src/geom/point.rs | |
| parent | 1c40dc42e7bc7b799b77f06d25414aca59a044ba (diff) | |
Move and rename many things 🚛
Diffstat (limited to 'src/geom/point.rs')
| -rw-r--r-- | src/geom/point.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geom/point.rs b/src/geom/point.rs index 4523a861..0faa781c 100644 --- a/src/geom/point.rs +++ b/src/geom/point.rs @@ -45,8 +45,8 @@ impl Get<SpecAxis> for Point { impl Switch for Point { type Other = Gen<Length>; - fn switch(self, flow: Flow) -> Self::Other { - match flow.main.axis() { + fn switch(self, dirs: LayoutDirs) -> Self::Other { + match dirs.main.axis() { SpecAxis::Horizontal => Gen::new(self.x, self.y), SpecAxis::Vertical => Gen::new(self.y, self.x), } |
