From d4929b8e18fb500aac515e98ab06afdf433ace23 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 6 Feb 2024 19:52:10 +0400 Subject: Inline variable --- src/layout/tile.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/layout') diff --git a/src/layout/tile.rs b/src/layout/tile.rs index a691e2e0..80797130 100644 --- a/src/layout/tile.rs +++ b/src/layout/tile.rs @@ -258,10 +258,9 @@ impl Tile { scale: Scale, focus_ring: bool, ) -> impl Iterator> { - let window_pos = location + self.window_loc(); let rv = self .window - .render(renderer, window_pos, scale) + .render(renderer, location + self.window_loc(), scale) .into_iter() .map(Into::into); -- cgit