ElyShow: an open dialog is never pushed aside; a stuck show start is gone (S-04)

This commit is contained in:
ZacharyZhang-NY committed 2026-10-09 20:17:16 -04:00
1 parent fd6e651478
commit 41a99962aa
13 files changed
+59 -26

No files matched your search

+5 -5
View File
@@ -196,11 +196,11 @@ impl Deck {
};
match cx.displays().len() {
1 => deck.open_show(starting, cx),
_ => {
deck.show_starting = true;
deck.dialog = Some(Dialog::Show(starting));
cx.notify();
}
_ => match deck.open_dialog(Dialog::Show(starting), cx) {
Ok(()) => deck.show_starting = true,
Err(Dialog::Show(refused)) => discard(worker, refused.doc, refused.copy, cx),
Err(_) => unreachable!("the show dialog comes back"),
},
}
},
cx,