Fix typo: w -> we

This commit is contained in:
TonalidadeHidrica 2022-01-04 03:44:01 +09:00
parent 125353a710
commit 0b9840e1ec

View File

@ -376,7 +376,7 @@ fn main() {
state.resize(*physical_size);
}
WindowEvent::ScaleFactorChanged { new_inner_size, .. } => {
// new_inner_size is &mut so w have to dereference it twice
// new_inner_size is &mut so we have to dereference it twice
state.resize(**new_inner_size);
}
_ => {}