We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8318a65 + 43fb13c commit 0d1fcddCopy full SHA for 0d1fcdd
src/DebugBar/Resources/widgets.js
@@ -367,8 +367,8 @@ if (typeof(PhpDebugBar) == 'undefined') {
367
var measure = data.measures[i];
368
var m = $('<div />').addClass(csscls('measure')),
369
li = $('<li />'),
370
- left = Math.round(measure.relative_start * 100 / data.duration),
371
- width = Math.min(Math.round(measure.duration * 100 / data.duration), 100 - left);
+ left = (measure.relative_start * 100 / data.duration).toFixed(2),
+ width = Math.min((measure.duration * 100 / data.duration).toFixed(2), 100 - left);
372
373
m.append($('<span />').addClass(csscls('value')).css({
374
left: left + "%",
0 commit comments