example: Fix typo: "fosus" -> "focus" (#3629)

This commit is contained in:
Bruce Mitchener 2024-04-16 04:59:58 +07:00 committed by GitHub
parent df7c496a5d
commit 7dd7dc1fc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -305,9 +305,9 @@ impl ApplicationHandler<UserEvent> for Application {
}
WindowEvent::Focused(focused) => {
if focused {
println!("Window={window_id:?} fosused");
println!("Window={window_id:?} focused");
} else {
println!("Window={window_id:?} unfosused");
println!("Window={window_id:?} unfocused");
}
}
WindowEvent::ScaleFactorChanged { scale_factor, .. } => {