diff --git a/examples/hex_neighbors.rs b/examples/hex_neighbors.rs index b5a7f27a..d573983f 100644 --- a/examples/hex_neighbors.rs +++ b/examples/hex_neighbors.rs @@ -92,9 +92,9 @@ fn spawn_tile_labels( let label_entity = commands .spawn(( - Text2d::new(format!("{}, {}", tile_pos.x, tile_pos.y)), + Text2d::new(format!("{},{}", tile_pos.x, tile_pos.y)), TextFont { - font_size: 20.0, + font_size: 14.0, ..default() }, TextColor(Color::BLACK), diff --git a/examples/hex_neighbors_radius_chunks.rs b/examples/hex_neighbors_radius_chunks.rs index 3f9e9d0c..5c90e88a 100644 --- a/examples/hex_neighbors_radius_chunks.rs +++ b/examples/hex_neighbors_radius_chunks.rs @@ -300,7 +300,7 @@ fn swap_map_type( &map_type, &map_transform, ); - tile_label_text.0 = format!("{}, {}", hex_pos.x, hex_pos.y); + tile_label_text.0 = format!("{},{}", hex_pos.x, hex_pos.y); } } } @@ -327,9 +327,9 @@ fn spawn_tile_labels( let label_entity = commands .spawn(( - Text2d(format!("{}, {}", hex_pos.x, hex_pos.y)), + Text2d(format!("{},{}", hex_pos.x, hex_pos.y)), TextFont { - font_size: 20.0, + font_size: 14.0, ..default() }, TextColor(Color::BLACK), diff --git a/examples/mouse_to_tile.rs b/examples/mouse_to_tile.rs index 560c0300..f374d6d0 100644 --- a/examples/mouse_to_tile.rs +++ b/examples/mouse_to_tile.rs @@ -115,9 +115,9 @@ fn spawn_tile_labels( let label_entity = commands .spawn(( - Text2d::new(format!("{}, {}", tile_pos.x, tile_pos.y)), + Text2d::new(format!("{},{}", tile_pos.x, tile_pos.y)), TextFont { - font_size: 20.0, + font_size: 14.0, ..default() }, TextColor(Color::BLACK),