Skip to content

Commit

Permalink
Fix typo in window.rs (bevyengine#10358)
Browse files Browse the repository at this point in the history
# Objective

Fixes a small typo in `bevy_window/src/window.rs`

## Solution

Change `Should be used instead 'scale_factor' when set.` to `Should be
used instead of 'scale_factor' when set.`
  • Loading branch information
doonv authored and Ray Redondo committed Jan 9, 2024
1 parent 606bf9e commit 068c11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_window/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ pub struct WindowResolution {
physical_height: u32,
/// Code-provided ratio of physical size to logical size.
///
/// Should be used instead `scale_factor` when set.
/// Should be used instead of `scale_factor` when set.
scale_factor_override: Option<f64>,
/// OS-provided ratio of physical size to logical size.
///
Expand Down

0 comments on commit 068c11a

Please sign in to comment.