From 5900247075248464cb1a9439bc0408353de9b162 Mon Sep 17 00:00:00 2001 From: aiongg Date: Mon, 26 Oct 2026 02:56:59 +0000 Subject: [PATCH] =?UTF-8?q?G1:=20Switch=20Windows=20draws=20its=20check=20?= =?UTF-8?q?with=20the=20chrome=20fallback=20when=20no=20face=20has=20?= =?UTF-8?q?=E2=9C=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/ui-egui/src/ribbon.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/ribbon.rs b/crates/ui-egui/src/ribbon.rs index a3c3b69f3..cb1573c1f 100644 --- a/crates/ui-egui/src/ribbon.rs +++ b/crates/ui-egui/src/ribbon.rs @@ -2605,7 +2605,7 @@ fn switch_windows(app: &mut SheetApp, ui: &mut Ui) { let forced = std::mem::take(&mut app.open_switch_windows); egui::Popup::menu(&anchor).open_memory(popup_command(forced, anchor.clicked())).show(|ui| { for w in app.open_windows() { - let label = format!("{}{}", if w.active { "✓ " } else { " " }, w.label()); + let label = theme::available_text(ui, &format!("{}{}", if w.active { "✓ " } else { " " }, w.label())); if ui.add(egui::Button::selectable(w.active, label).min_size(vec2(220.0, 22.0))).clicked() { act(app, "view.switchWindows", json!({"doc": w.doc})); ui.close();