diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/layout/scrolling.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/layout/scrolling.rs b/src/layout/scrolling.rs index 2b925cd9..349a0e02 100644 --- a/src/layout/scrolling.rs +++ b/src/layout/scrolling.rs @@ -3973,11 +3973,15 @@ impl<W: LayoutElement> Column<W> { } fn tiles_origin(&self) -> Point<f64, Logical> { + let mut origin = Point::from((0., 0.)); + if self.is_fullscreen { - Point::from((0., 0.)) - } else { - Point::from((0., self.working_area.loc.y + self.options.gaps)) + return origin; } + + origin.y += self.working_area.loc.y + self.options.gaps; + + origin } // HACK: pass a self.data iterator in manually as a workaround for the lack of method partial |
