From 3a2ec863954298acaabeb42734e9a37012f367b9 Mon Sep 17 00:00:00 2001 From: white-axe Date: Fri, 24 Nov 2023 20:40:23 -0500 Subject: [PATCH] Apply clippy recommendation in brush.rs --- crates/ui/src/tabs/map/brush.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui/src/tabs/map/brush.rs b/crates/ui/src/tabs/map/brush.rs index 7b1c0ee3..bdc7ec46 100644 --- a/crates/ui/src/tabs/map/brush.rs +++ b/crates/ui/src/tabs/map/brush.rs @@ -205,7 +205,7 @@ impl super::Tab { map_x as i16 - drawing_shape_pos.x as i16, map_y as i16 - drawing_shape_pos.y as i16, ), - (map_x as usize, map_y as usize, tile_layer), + (map_x, map_y, tile_layer), ); } else { let bounding_rect = bounding_rect.translate(egui::vec2(0.5, 0.5));