mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
editor: Correct "Toggle Excerpt Fold" tip on macOS (#38487)
Show `"Option+click to toggle all"` instead of `"Alt+click to toggle all" on macOS. <img width="546" height="212" alt="Screenshot 2025-09-19 at 10 16 11" src="https://github.com/user-attachments/assets/b1052b7c-349f-4a11-892b-988cfd2ff365" /> Release Notes: - N/A
This commit is contained in:
parent
9e6f1d5a6e
commit
a3da66cec0
1 changed files with 5 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue