Add key contexts for Pickers (#35665)
Closes: https://github.com/zed-industries/zed/issues/35430 Added: - Workspace > CommandPalette - Workspace > GitBranchSelector - Workspace > GitRepositorySelector - Workspace > RecentProjects - Workspace > LanguageSelector - Workspace > IconThemeSelector - Workspace > ThemeSelector Release Notes: - Added new keymap contexts for various Pickers - CommandPalette, GitBranchSelector, GitRepositorySelector, RecentProjects, LanguageSelector, IconThemeSelector, ThemeSelector
This commit is contained in:
parent
a80da784b7
commit
f9038f6189
7 changed files with 22 additions and 5 deletions
|
@ -86,7 +86,10 @@ impl LanguageSelector {
|
|||
|
||||
impl Render for LanguageSelector {
|
||||
fn render(&mut self, _window: &mut Window, _cx: &mut Context<Self>) -> impl IntoElement {
|
||||
v_flex().w(rems(34.)).child(self.picker.clone())
|
||||
v_flex()
|
||||
.key_context("LanguageSelector")
|
||||
.w(rems(34.))
|
||||
.child(self.picker.clone())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue