Inline variable
Browse files at this commitd4929b8e18fb500aac515e98ab06afdf433ace23Parent: 93c547f1 changed file +1 -2
- src/layout/tile.rs +1 -2
src/layout/tile.rsmodified+1 -2
| @@ -258,10 +258,9 @@ impl<W: LayoutElement> Tile<W> { | |||
| 258 | scale: Scale<f64>, | 258 | scale: Scale<f64>, |
| 259 | focus_ring: bool, | 259 | focus_ring: bool, |
| 260 | ) -> impl Iterator<Item = TileRenderElement<R>> { | 260 | ) -> impl Iterator<Item = TileRenderElement<R>> { |
| 261 | - let window_pos = location + self.window_loc(); | ||
| 262 | let rv = self | 261 | let rv = self |
| 263 | .window | 262 | .window |
| 264 | - .render(renderer, window_pos, scale) | 263 | + .render(renderer, location + self.window_loc(), scale) |
| 265 | .into_iter() | 264 | .into_iter() |
| 266 | .map(Into::into); | 265 | .map(Into::into); |
| 267 | 266 | ||