Commit 94b765368db8e50cb70bf7e12cff49e51cb226aa
progress-notifier: whoops fix delay for showing and hiding
Matt McKegg committed on 6/1/2017, 1:41:34 AMParent: b1b0ee71c45997c433aba9eaf0175aa177983a29
Files changed
modules/app/html/progress-notifier.js | changed |
modules/app/html/progress-notifier.js | ||
---|---|---|
@@ -43,9 +43,9 @@ | ||
43 | 43 … | }) |
44 | 44 … | |
45 | 45 … | var hidden = sustained(computed([progress.incompleteFeeds, indexing], (incomplete, indexing) => { |
46 | 46 … | return incomplete < 5 && !indexing |
47 | - }), 200) | |
47 … | + }), 2000) | |
48 | 48 … | |
49 | 49 … | // HACK: css animations take up WAY TO MUCH cpu, remove from dom when inactive |
50 | 50 … | var displaying = computed(sustained(hidden, 500, x => !x), hidden => !hidden) |
51 | 51 … |
Built with git-ssb-web