Add keymap picker UI
Co-authored-by: Max <max@zed.dev>
This commit is contained in:
parent
3594243644
commit
350ddf2025
8 changed files with 225 additions and 26 deletions
|
@ -46,8 +46,8 @@ impl KeymapFileContent {
|
|||
Self::load(path, cx).unwrap();
|
||||
}
|
||||
|
||||
if let Some(base_keymap) = cx.global::<Settings>().base_keymap {
|
||||
Self::load(base_keymap.asset_path(), cx).log_err();
|
||||
if let Some(asset_path) = cx.global::<Settings>().base_keymap.asset_path() {
|
||||
Self::load(asset_path, cx).log_err();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue