MarkerTimeline set fixed decimals
Summary: Set a fixed number of decimals for the 'ms'. More doesn't give more insights and it messes with the overall layout. Reviewed By: antonk52 Differential Revision: D43872203 fbshipit-source-id: 343278923ee27dbf884af41c997457bfba337ba8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
305de28f4e
commit
a7e523a77c
@@ -230,7 +230,7 @@ export class MarkerTimeline extends Component<Props, State> {
|
|||||||
number={
|
number={
|
||||||
p.markerNames.length > 1 ? p.markerNames.length : undefined
|
p.markerNames.length > 1 ? p.markerNames.length : undefined
|
||||||
}>
|
}>
|
||||||
<Time>{p.timestamp}ms</Time>{' '}
|
<Time>{p.timestamp.toFixed(5)}ms</Time>{' '}
|
||||||
<Code code>{p.markerNames.join(', ')}</Code>
|
<Code code>{p.markerNames.join(', ')}</Code>
|
||||||
</Point>
|
</Point>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user