Skip to content

Commit

Permalink
edit gizmo color on hex grid
Browse files Browse the repository at this point in the history
  • Loading branch information
ManevilleF committed Mar 24, 2024
1 parent 3c712d4 commit 51e715f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hex_grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ fn handle_input(
fn gizmos(mut gizmos: Gizmos, higlights: Res<HighlightedHexes>, map: Res<Map>) {
let selected = higlights.selected;
for [a, b] in selected.all_edges().map(|e| map.layout.edge_coordinates(e)) {
gizmos.line_2d(a, b, Color::CYAN);
gizmos.line_2d(a, b, Color::LIME_GREEN);
}
}

Expand Down

0 comments on commit 51e715f

Please sign in to comment.