Show cursors sligthly longer
This commit is contained in:
parent
df2b0f6d2e
commit
af30a9b814
1 changed files with 1 additions and 1 deletions
|
@ -3907,7 +3907,7 @@ impl Editor {
|
||||||
self.show_cursor_names = true;
|
self.show_cursor_names = true;
|
||||||
cx.notify();
|
cx.notify();
|
||||||
cx.spawn(|this, mut cx| async move {
|
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.update(&mut cx, |this, cx| {
|
||||||
this.show_cursor_names = false;
|
this.show_cursor_names = false;
|
||||||
cx.notify()
|
cx.notify()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue