mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-09 03:57:39 +00:00
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:
commit
98ef4ceacc
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue