@samitouri / QOS-React / commits / 5334249bda

Fixed a typo in flamegraph duration label

Brian Vaughn committed Apr 6, 2019 at 18:01 UTC 5334249bda1917ead38860b2272af2169bb7036d
2 files changed +5 -5
src/devtools/views/Profiler/ChartNode.css
+4 -4
@@ -18,10 +18,10 @@
18 white-space: nowrap;
19 text-overflow: ellipsis;
20 overflow: hidden;
21 - font-size: var(--font-family-sans);
22 - font-family: var(--font-size-sans-normal);
23 - margin-left: 4px;
24 - margin-right: 4px;
21 + font-family: var(--font-family-sans);
22 + font-size: var(--font-size-sans-normal);
23 + margin-left: 0.25rem;
24 + margin-right: 0.25rem;
25 line-height: 1.5;
26 padding: 0 0 0;
27 font-weight: 400;
src/devtools/views/Profiler/FlamegraphChartBuilder.js
+1 -1
@@ -69,7 +69,7 @@ export function getChartData({
69
70 let label = `${name}${maybeKey}`;
71 if (didRender) {
72 - label += ` (${selfDuration.toFixed(1)}ms) of ${actualDuration.toFixed(
72 + label += ` (${selfDuration.toFixed(1)}ms of ${actualDuration.toFixed(
73 1
74 )}ms)`;
75 }