Make window_label optional (#16)
This commit is contained in:
parent
0c864ee8c2
commit
0d2dcccac3
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ pub struct Event<T> {
|
|||
/// Event payload
|
||||
pub payload: T,
|
||||
/// The label of the window that emitted this event
|
||||
pub window_label: String,
|
||||
pub window_label: Option<String>,
|
||||
}
|
||||
|
||||
/// Emits an event to the backend.
|
||||
|
|
Loading…
Add table
Reference in a new issue