Show cursors sligthly longer (#4172)
2 seconds feels a little jittery, lets try a bit longer Release Notes: - (Added|Fixed|Improved) ... ([#<public_issue_number_if_exists>](https://github.com/zed-industries/community/issues/<public_issue_number_if_exists>)).
This commit is contained in:
@@ -3907,7 +3907,7 @@ impl Editor {
|
||||
self.show_cursor_names = true;
|
||||
cx.notify();
|
||||
cx.spawn(|this, mut cx| async move {
|
||||
cx.background_executor().timer(Duration::from_secs(2)).await;
|
||||
cx.background_executor().timer(Duration::from_secs(3)).await;
|
||||
this.update(&mut cx, |this, cx| {
|
||||
this.show_cursor_names = false;
|
||||
cx.notify()
|
||||
|
||||
Reference in New Issue
Block a user