From a3da66cec0f770b7d79b24891e960cbc3c81529d Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Fri, 19 Sep 2025 15:41:52 +0200 Subject: [PATCH] editor: Correct "Toggle Excerpt Fold" tip on macOS (#38487) Show `"Option+click to toggle all"` instead of `"Alt+click to toggle all" on macOS. Screenshot 2025-09-19 at 10 16 11 Release Notes: - N/A --- crates/editor/src/element.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs index 3bc05ccd537710c34c1c4e8e6d63c26440360f2e..28fe68e71cb4fac36f84d1161020e16ba2d0605f 100644 --- a/crates/editor/src/element.rs +++ b/crates/editor/src/element.rs @@ -3838,7 +3838,11 @@ impl EditorElement { Tooltip::with_meta_in( "Toggle Excerpt Fold", Some(&ToggleFold), - "Alt+click to toggle all", + if cfg!(target_os = "macos") { + "Option+click to toggle all" + } else { + "Alt+click to toggle all" + }, &focus_handle, window, cx,