Merge pull request #71 from rust-windowing/dependencies
Update dependencies
This commit is contained in:
commit
83c0f92dc5
2 changed files with 2 additions and 8 deletions
|
|
@ -36,7 +36,7 @@ x11rb = { version = "0.11.0", features = ["allow-unsafe-code", "dl-libxcb", "shm
|
||||||
fastrand = { version = "1.8.0", optional = true }
|
fastrand = { version = "1.8.0", optional = true }
|
||||||
|
|
||||||
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
|
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
|
||||||
version = "0.42.0"
|
version = "0.45.0"
|
||||||
features = ["Win32_Graphics_Gdi", "Win32_UI_WindowsAndMessaging", "Win32_Foundation"]
|
features = ["Win32_Graphics_Gdi", "Win32_UI_WindowsAndMessaging", "Win32_Foundation"]
|
||||||
|
|
||||||
[target.'cfg(target_os = "macos")'.dependencies]
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
|
|
@ -60,7 +60,7 @@ cfg_aliases = "0.1.1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
instant = "0.1.12"
|
instant = "0.1.12"
|
||||||
winit = "0.27.2"
|
winit = "0.28.1"
|
||||||
|
|
||||||
[dev-dependencies.image]
|
[dev-dependencies.image]
|
||||||
version = "0.23.14"
|
version = "0.23.14"
|
||||||
|
|
|
||||||
|
|
@ -54,12 +54,6 @@ fn main() {
|
||||||
} if window_id == window.id() => {
|
} if window_id == window.id() => {
|
||||||
*control_flow = ControlFlow::Exit;
|
*control_flow = ControlFlow::Exit;
|
||||||
}
|
}
|
||||||
Event::WindowEvent {
|
|
||||||
event: WindowEvent::Resized(_),
|
|
||||||
window_id,
|
|
||||||
} if window_id == window.id() => {
|
|
||||||
window.request_redraw();
|
|
||||||
}
|
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue