Introduce event::Status to Subscription
This commit is contained in:
parent
33d80b5a0b
commit
69c50c8511
6 changed files with 50 additions and 29 deletions
|
|
@ -359,7 +359,7 @@ async fn run_instance<A, E, C>(
|
|||
state.scale_factor(),
|
||||
state.modifiers(),
|
||||
) {
|
||||
let _ = user_interface.update(
|
||||
let event_status = user_interface.update(
|
||||
event.clone(),
|
||||
state.cursor_position(),
|
||||
clipboard.as_ref().map(|c| c as _),
|
||||
|
|
@ -367,7 +367,7 @@ async fn run_instance<A, E, C>(
|
|||
&mut messages,
|
||||
);
|
||||
|
||||
runtime.broadcast(event);
|
||||
runtime.broadcast((event, event_status));
|
||||
|
||||
is_clean = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue