Update git gutter status after debounced delay

Co-authored-by: Max Brunsfeld <max@zed.com>
This commit is contained in:
Julia
2022-09-29 13:16:02 -04:00
co-authored by Max Brunsfeld
parent 5157c71fa9
commit 883d5b7a08
5 changed files with 60 additions and 9 deletions
+1 -1
View File
@@ -734,7 +734,7 @@ impl<T: Item> ItemHandle for ViewHandle<T> {
);
}
const GIT_DELAY: Duration = Duration::from_millis(800);
const GIT_DELAY: Duration = Duration::from_millis(600);
let item = item.clone();
pending_git_update.fire_new(
GIT_DELAY,