This commit is contained in:
Antonio Scandurra 2023-11-06 18:59:46 +01:00
parent 769526a76a
commit e460f6a27c
3 changed files with 580 additions and 555 deletions

View file

@ -8693,9 +8693,9 @@ impl Editor {
}
}
// pub fn show_local_cursors(&self, cx: &AppContext) -> bool {
// self.blink_manager.read(cx).visible() && self.focused
// }
pub fn show_local_cursors(&self, cx: &AppContext) -> bool {
self.blink_manager.read(cx).visible() && self.focused
}
fn on_buffer_changed(&mut self, _: Model<MultiBuffer>, cx: &mut ViewContext<Self>) {
cx.notify();