File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,15 @@ bevy_utils = { path = "../bevy_utils", version = "0.12.0-dev" }
28
28
bevy_tasks = { path = " ../bevy_tasks" , version = " 0.12.0-dev" }
29
29
30
30
# other
31
- winit = { version = " 0.28" , default-features = false }
31
+ winit = { version = " 0.28.7 " , default-features = false }
32
32
accesskit_winit = { version = " 0.14" , default-features = false }
33
33
approx = { version = " 0.5" , default-features = false }
34
34
raw-window-handle = " 0.5"
35
35
36
36
[target .'cfg(target_os = "android")' .dependencies ]
37
- winit = { version = " 0.28" , default-features = false , features = [" android-native-activity" ] }
37
+ winit = { version = " 0.28.7" , default-features = false , features = [
38
+ " android-native-activity" ,
39
+ ] }
38
40
39
41
[target .'cfg(target_arch = "wasm32")' .dependencies ]
40
42
wasm-bindgen = { version = " 0.2" }
Original file line number Diff line number Diff line change @@ -441,14 +441,6 @@ pub fn winit_runner(mut app: App) {
441
441
442
442
match event {
443
443
WindowEvent :: Resized ( size) => {
444
- // TODO: Remove this once we upgrade winit to a version with the fix
445
- #[ cfg( target_os = "macos" ) ]
446
- if size. width == u32:: MAX || size. height == u32:: MAX {
447
- // HACK to fix a bug on Macos 14
448
- // https://github.com/rust-windowing/winit/issues/2876
449
- return ;
450
- }
451
-
452
444
window
453
445
. resolution
454
446
. set_physical_resolution ( size. width , size. height ) ;
You can’t perform that action at this time.
0 commit comments