Use i32 instead of u32 for position type in WindowEvent::Moved (#1502)

* Use i32 instead of u32 for position type in WindowEvent::Moved

* Mark change as breaking
This commit is contained in:
Osspial 2020-03-08 00:21:04 -05:00 committed by GitHub
parent 098fd5d602
commit b1d8ce24e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -185,7 +185,7 @@ pub enum WindowEvent<'a> {
Resized(PhysicalSize<u32>),
/// The position of the window has changed. Contains the window's new position.
Moved(PhysicalPosition<u32>),
Moved(PhysicalPosition<i32>),
/// The window has been requested to close.
CloseRequested,