Skip to content

Commit

Permalink
Apply clippy recommendation in brush.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
white-axe committed Nov 25, 2023
1 parent bbadd8e commit 3a2ec86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ui/src/tabs/map/brush.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 3a2ec86

Please sign in to comment.