mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-18 18:08:07 +03:00
Allow more time wrapping to complete synchronously
We're seeing occasional flickers and wondering if this will help. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
parent
e7d03af942
commit
c306ac007c
@ -209,7 +209,7 @@ impl WrapMap {
|
||||
|
||||
match cx
|
||||
.background()
|
||||
.block_with_timeout(Duration::from_micros(500), update_task)
|
||||
.block_with_timeout(Duration::from_millis(1), update_task)
|
||||
{
|
||||
Ok(snapshot) => {
|
||||
self.snapshot = snapshot;
|
||||
|
Loading…
Reference in New Issue
Block a user