layout/tile: Remove redundant .to_f64()
Browse files at this commitf30db163b5748e8cf95c05aba77d0d3736f40543Parent: a78f07c1 changed file +1 -1
- src/layout/tile.rs +1 -1
src/layout/tile.rsmodified+1 -1
| @@ -1042,7 +1042,7 @@ impl<W: LayoutElement> Tile<W> { | ||
| 1042 | 1042 | let location = location + self.bob_offset(); |
| 1043 | 1043 | |
| 1044 | 1044 | let window_loc = self.window_loc(); |
| 1045 | - let window_size = self.window_size().to_f64(); | |
| 1045 | + let window_size = self.window_size(); | |
| 1046 | 1046 | let animated_window_size = self.animated_window_size(); |
| 1047 | 1047 | let window_render_loc = location + window_loc; |
| 1048 | 1048 | let area = Rectangle::new(window_render_loc, animated_window_size); |