mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 03:42:20 +03:00
Fix modality indicators in user menu (#13228)
This PR updates the modality indicators in the user menu after #12940. We use the ellipsis throughout the app to indicate that a menu action will open a modal (e.g., the theme selector), so "Themes" needs the trailing ellipsis. Whereas the "Extensions" entry opens up a new tab, which we don't indicate that same way. Release Notes: - N/A
This commit is contained in:
parent
6cea9813ad
commit
c84d432b5f
@ -911,8 +911,8 @@ impl CollabTitlebarItem {
|
||||
ContextMenu::build(cx, |menu, _| {
|
||||
menu.action("Settings", zed_actions::OpenSettings.boxed_clone())
|
||||
.action("Key Bindings", Box::new(zed_actions::OpenKeymap))
|
||||
.action("Themes", theme_selector::Toggle::default().boxed_clone())
|
||||
.action("Extensions...", extensions_ui::Extensions.boxed_clone())
|
||||
.action("Themes…", theme_selector::Toggle::default().boxed_clone())
|
||||
.action("Extensions", extensions_ui::Extensions.boxed_clone())
|
||||
.separator()
|
||||
.action("Sign Out", client::SignOut.boxed_clone())
|
||||
})
|
||||
@ -940,8 +940,8 @@ impl CollabTitlebarItem {
|
||||
ContextMenu::build(cx, |menu, _| {
|
||||
menu.action("Settings", zed_actions::OpenSettings.boxed_clone())
|
||||
.action("Key Bindings", Box::new(zed_actions::OpenKeymap))
|
||||
.action("Themes", theme_selector::Toggle::default().boxed_clone())
|
||||
.action("Extensions...", extensions_ui::Extensions.boxed_clone())
|
||||
.action("Themes…", theme_selector::Toggle::default().boxed_clone())
|
||||
.action("Extensions", extensions_ui::Extensions.boxed_clone())
|
||||
})
|
||||
.into()
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user