From c7a142310529091251ec8697fac9f32388e56b94 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Fri, 23 Oct 2026 17:13:31 -0400 Subject: [PATCH] Presenter View: closing its window also closes its slide grid Otherwise presenter_grid stayed true and held auto-advance and rehearsal for the rest of the show (CodeRabbit). Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/show.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ui-egui/src/show.rs b/crates/ui-egui/src/show.rs index 7f02474c..ab838ed3 100644 --- a/crates/ui-egui/src/show.rs +++ b/crates/ui-egui/src/show.rs @@ -1906,6 +1906,8 @@ fn presenter_window(ctx: &egui::Context, show: &mut Show, doc: &Presentation, no }); if ui.input(|i| i.viewport().close_requested()) { show.presenter = false; + // A grid left open in the closed window would hold auto-advance for the rest of the show. + show.presenter_grid = false; } }, );