Show cursors sligthly longer

This commit is contained in:
Conrad Irwin 2024-01-19 14:38:17 -07:00
parent df2b0f6d2e
commit af30a9b814

View file

@ -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()