From 24fa4668ef968b78ae0c902fa104ee4dbdcab783 Mon Sep 17 00:00:00 2001 From: lucasegen <281051305+lucasegen@users.noreply.github.com> Date: Tue, 20 Oct 2026 11:37:35 +0200 Subject: [PATCH] Name F12 in the Record button's tooltip The tooltip only offered Cmd+Space, which macOS gives to Spotlight unless the user frees it, so on a stock Mac the advertised shortcut opens Spotlight. F12 already records (shortcuts.rs), as on the incumbent; the tooltip now names it first. Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/toolbar.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/toolbar.rs b/crates/ui-egui/src/toolbar.rs index 41d83ac4..0dd217b6 100644 --- a/crates/ui-egui/src/toolbar.rs +++ b/crates/ui-egui/src/toolbar.rs @@ -338,7 +338,8 @@ fn transport(app: &mut SoundApp, ui: &mut Ui) { let (r, resp) = ui.allocate_exact_size(vec2(38.0, 28.0), Sense::click()); key(ui.painter(), r, &resp, if recording { Color32::from_rgb(110, 30, 30) } else { key_fill(&resp) }); icons::draw(ui.painter(), r.shrink(5.0), "record", t.rec); - let resp = resp.on_hover_text("Record (Cmd+Space)"); + // macOS gives Cmd+Space to Spotlight unless the user frees it, so name F12 first. + let resp = resp.on_hover_text("Record (F12 or Cmd+Space)"); if let Some(why) = app.record_hint() { // Below the whole group, so the hint covers none of its buttons. let below = Rect::from_min_max(r.min, pos2(r.max.x, g.max.y));