Commit dc90da0
committed
fix: remove silent .slice() truncation in abbreviateCount, render first spinner frame immediately
- Remove .slice(0, COL_COUNT) from abbreviateCount — the toFixed(1) to
Math.round() fallback already guarantees width, and slice would silently
corrupt the value if it ever activated
- Call scheduleFrame() directly instead of setTimeout(scheduleFrame, ...) in
both poll() and withProgress() so the first spinner frame renders immediately1 parent 6dbdd0c commit dc90da0
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments