Make bevy_window and bevy_input events serializable (#6180)
Closes #6021
This commit is contained in:
parent
37860a09de
commit
087f1c66aa
@ -105,6 +105,7 @@ pub struct ReceivedCharacter {
|
||||
|
||||
/// An event that indicates a window has received or lost focus.
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
||||
pub struct WindowFocused {
|
||||
pub id: WindowId,
|
||||
pub focused: bool,
|
||||
|
Loading…
Reference in New Issue
Block a user