File tree Expand file tree Collapse file tree 5 files changed +15
-262
lines changed Expand file tree Collapse file tree 5 files changed +15
-262
lines changed Original file line number Diff line number Diff line change @@ -213,10 +213,11 @@ const BarGraph = (props) => {
213
213
fontSize = { 12 }
214
214
fill = "#FFFFFF"
215
215
>
216
- Rendering Time (ms)
216
+ Rendering Time (ms)
217
217
</ Text >
218
- < Text x = { xMax / 2 } y = { yMax + 65 } fontSize = { 12 } fill = "#FFFFFF" >
219
- Snapshot Id
218
+ < br />
219
+ < Text x = { ( xMax / 2 ) + 15 } y = { yMax + 70 } fontSize = { 12 } fill = "#FFFFFF" >
220
+ Snapshot ID
220
221
</ Text >
221
222
</ svg >
222
223
{ /* FOR HOVER OVER DISPLAY */ }
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export default function ComponentMap({
71
71
72
72
// setting the margins for the Map to render in the tab window.
73
73
const innerWidth = totalWidth - margin . left - margin . right ;
74
- const innerHeight = totalHeight - margin . top - margin . bottom ;
74
+ const innerHeight = totalHeight - margin . top - margin . bottom - 60 ;
75
75
76
76
let origin : { x : number ; y : number } ;
77
77
let sizeWidth : number ;
Original file line number Diff line number Diff line change @@ -136,18 +136,18 @@ const StateRoute = (props: StateRouteProps) => {
136
136
return (
137
137
< Router >
138
138
< div className = "navbar" >
139
- < NavLink
139
+ < NavLink className = "router-link"
140
+ activeClassName = "is-active"
141
+ exact to = "/" >
142
+ Map
143
+ </ NavLink >
144
+ < NavLink
140
145
className = "router-link"
141
146
activeClassName = "is-active"
142
- exact to = "/"
147
+ to = "/performance "
143
148
>
144
149
Performance
145
150
</ NavLink >
146
- < NavLink className = "router-link"
147
- activeClassName = "is-active"
148
- to = "/map" >
149
- Map
150
- </ NavLink >
151
151
< NavLink
152
152
className = "router-link"
153
153
activeClassName = "is-active"
@@ -173,11 +173,11 @@ const StateRoute = (props: StateRouteProps) => {
173
173
) }
174
174
</ div >
175
175
< Switch >
176
- < Route path = "/map " render = { renderComponentMap } />
176
+ < Route path = "/performance " render = { renderPerfView } />
177
177
< Route path = "/history" render = { renderHistory } />
178
178
< Route path = "/relationship" render = { renderAtomsRelationship } />
179
179
< Route path = "/tree" render = { renderTree } />
180
- < Route path = "/" render = { renderPerfView } />
180
+ < Route path = "/" render = { renderComponentMap } />
181
181
</ Switch >
182
182
</ Router >
183
183
) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Reactime" ,
3
- "version" : " 7 .0.0" ,
3
+ "version" : " 8 .0.0" ,
4
4
"devtools_page" : " devtools.html" ,
5
5
"description" : " A Chrome extension that helps debug React applications by memorizing the state of components with every render." ,
6
6
"manifest_version" : 2 ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments