mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 14:08:32 +00:00
Update docs for scaling_mode field of Orthographic projection (#9297)
# Objective This PR updates the name of the enum variant used in the docs for `OrthographicProjection`. ## Solution - Change the outdated 'WindowScale` to `WindowSize`.
This commit is contained in:
parent
e6405bb7b4
commit
335109f724
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ pub struct OrthographicProjection {
|
|||
pub viewport_origin: Vec2,
|
||||
/// How the projection will scale when the viewport is resized.
|
||||
///
|
||||
/// Defaults to `ScalingMode::WindowScale(1.0)`
|
||||
/// Defaults to `ScalingMode::WindowSize(1.0)`
|
||||
pub scaling_mode: ScalingMode,
|
||||
/// Scales the projection in world units.
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue