Skip to content

Commit

Permalink
refactor(docs): add comment for adjust_camera_scale
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenMian committed Jun 11, 2024
1 parent ccb8094 commit db398a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/systems/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ pub fn update_grid_position_from_board(
}
}

/// Adjust the camera scale to ensure the level is fully visible.
pub fn adjust_camera_scale(
mut camera: Query<&mut MainCamera>,
window: Query<&Window>,
Expand Down

0 comments on commit db398a2

Please sign in to comment.