fix typo in blink manager disable which didn't properly disable, and start editors with the blink manager disabled
This commit is contained in:
parent
fcfc4a4298
commit
41699224ff
2 changed files with 7 additions and 4 deletions
|
@ -6511,8 +6511,10 @@ impl View for Editor {
|
|||
if let Some(rename) = self.pending_rename.as_ref() {
|
||||
cx.focus(&rename.editor);
|
||||
} else {
|
||||
if !self.focused {
|
||||
self.blink_manager.update(cx, BlinkManager::enable);
|
||||
}
|
||||
self.focused = true;
|
||||
self.blink_manager.update(cx, BlinkManager::enable);
|
||||
self.buffer.update(cx, |buffer, cx| {
|
||||
buffer.finalize_last_transaction(cx);
|
||||
if self.leader_replica_id.is_none() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue