From cec032f9ed742f2ecd13dc5d6cdce0bdd5191732 Mon Sep 17 00:00:00 2001 From: Cory Forsstrom Date: Thu, 26 May 2022 10:43:23 -0700 Subject: [PATCH] Don't process captured overlay statuses --- native/src/user_interface.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/native/src/user_interface.rs b/native/src/user_interface.rs index 785ee56a59..2f2dc1109d 100644 --- a/native/src/user_interface.rs +++ b/native/src/user_interface.rs @@ -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(