forge
Explore
Log in

Don't you dare go Hollow

layout/tile: Remove redundant .to_f64()

Browse files at this commit

f30db163b5748e8cf95c05aba77d0d3736f40543Ivan MolodetskikhParent: a78f07c
src/layout/tile.rsmodified+1 -1
@@ -1042,7 +1042,7 @@ impl<W: LayoutElement> Tile<W> {
10421042 let location = location + self.bob_offset();
10431043
10441044 let window_loc = self.window_loc();
1045- let window_size = self.window_size().to_f64();
1045+ let window_size = self.window_size();
10461046 let animated_window_size = self.animated_window_size();
10471047 let window_render_loc = location + window_loc;
10481048 let area = Rectangle::new(window_render_loc, animated_window_size);