mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
Make bevy_window and bevy_input events serializable (#6180)
Closes #6021
This commit is contained in:
parent
37860a09de
commit
087f1c66aa
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue