Skip to content

Commit

Permalink
Merge pull request #1353 from tarkah/fix/overlay-status-capture
Browse files Browse the repository at this point in the history
Don't process captured overlay statuses
  • Loading branch information
hecrj committed May 30, 2022
2 parents ba33e92 + cec032f commit 824bef6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions native/src/user_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ where
.cloned()
.zip(overlay_statuses.into_iter())
.map(|(event, overlay_status)| {
if matches!(overlay_status, event::Status::Captured) {
return overlay_status;
}

let mut shell = Shell::new(messages);

let event_status = self.root.widget.on_event(
Expand Down

0 comments on commit 824bef6

Please sign in to comment.