git: Only show inline git blame when editor is focused (#10680)
Release Notes: - N/A
This commit is contained in:
parent
62171387f6
commit
d7becce9aa
1 changed files with 1 additions and 1 deletions
|
@ -8946,7 +8946,7 @@ impl Editor {
|
|||
}
|
||||
|
||||
pub fn render_git_blame_inline(&mut self, cx: &mut WindowContext) -> bool {
|
||||
self.show_git_blame_inline && self.has_blame_entries(cx)
|
||||
self.focus_handle.is_focused(cx) && self.show_git_blame_inline && self.has_blame_entries(cx)
|
||||
}
|
||||
|
||||
fn has_blame_entries(&self, cx: &mut WindowContext) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue