From 6a7b21592facb954305df55d98bdd18af4283b83 Mon Sep 17 00:00:00 2001 From: Doonv <58695417+doonv@users.noreply.github.com> Date: Sat, 4 Nov 2023 00:04:39 +0200 Subject: [PATCH] Fix typo in window.rs (#10358) # 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.` --- crates/bevy_window/src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs index b77b633dae..7b5c75d38f 100644 --- a/crates/bevy_window/src/window.rs +++ b/crates/bevy_window/src/window.rs @@ -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, /// OS-provided ratio of physical size to logical size. ///