Don't consume window resize events in context

This commit is contained in:
Jarrod Doyle 2023-10-20 12:15:14 +01:00
parent 6e2762eb5c
commit 6c5e37b02f
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ impl Context {
}
WindowEvent::Resized(physical_size) => {
self.resize(*physical_size);
true
false
}
WindowEvent::ScaleFactorChanged { new_inner_size, .. } => {
self.resize(**new_inner_size);