Commit ffaadd5
fix(perf): Clamp negative otherPercentage in operation duration breakdown
The `otherPercentage` value could go negative due to floating-point
drift, producing an invalid negative CSS width. Use Math.max to clamp
it to zero.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 50fb9c6 commit ffaadd5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
| 435 | + | |
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| |||
0 commit comments