Commit 8a9ef65
committed
fix: Add a 0.1 second delay between redrawing Tasks search results.
Basically, many Tasks searches can take more than 0.1 second to render.
But Obsidian and Tasks can parse many files during that 0.1 second span.
1. This speeds up start-up time in cases where there were Tasks queries open
at start-up Obsidian, preventing double-redraws.
2. It eliminates lots of wasted redraws in open queries, when Obsidian
is re-reading files that were edited externally (such as via Sync)
and where bulk edits are made to files in the vault.
Relates to issue #32831 parent f356edf commit 8a9ef65
1 file changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
2 | 10 | | |
3 | 11 | | |
4 | 12 | | |
| |||
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
36 | 50 | | |
37 | 51 | | |
38 | 52 | | |
| |||
111 | 125 | | |
112 | 126 | | |
113 | 127 | | |
114 | | - | |
| 128 | + | |
115 | 129 | | |
116 | 130 | | |
117 | 131 | | |
| |||
0 commit comments