mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 02:46:43 +00:00
Remove unnecessary identifier
This commit is contained in:
parent
ee869baea6
commit
cf60642f39
1 changed files with 2 additions and 6 deletions
|
@ -1633,13 +1633,9 @@ impl View for ProjectPanel {
|
||||||
|
|
||||||
if let Some(window) = cx.active_window() {
|
if let Some(window) = cx.active_window() {
|
||||||
window.read_with(cx, |cx| {
|
window.read_with(cx, |cx| {
|
||||||
let identifier = if self.filename_editor.is_focused(cx) {
|
if !self.filename_editor.is_focused(cx) {
|
||||||
"editing"
|
keymap.add_identifier("not_editing");
|
||||||
} else {
|
|
||||||
"not_editing"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
keymap.add_identifier(identifier);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue