File tree Expand file tree Collapse file tree 3 files changed +13
-15
lines changed
src/app/components/StateRoute Expand file tree Collapse file tree 3 files changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -331,18 +331,18 @@ export default function ComponentMap({
331
331
}
332
332
333
333
// mousing controls & Tooltip display logic
334
- // const handleMouseAndClickOver: void = (event) => {
335
- // const coords = localPoint(event.target.ownerSVGElement, event);
336
- // const tooltipObj = { ...node.data };
337
-
338
- // showTooltip({
339
- // tooltipLeft: coords.x,
340
- // tooltipTop: coords.y,
341
- // tooltipData: tooltipObj,
342
- // // this is where the data for state and render time is displayed
343
- // // but does not show props functions and etc
344
- // });
345
- // };
334
+ const handleMouseAndClickOver : void = ( event ) => {
335
+ const coords = localPoint ( event . target . ownerSVGElement , event ) ;
336
+ const tooltipObj = { ...node . data } ;
337
+
338
+ showTooltip ( {
339
+ tooltipLeft : coords . x ,
340
+ tooltipTop : coords . y ,
341
+ tooltipData : tooltipObj ,
342
+ // this is where the data for state and render time is displayed
343
+ // but does not show props functions and etc
344
+ } ) ;
345
+ } ;
346
346
347
347
return (
348
348
< Group top = { top } left = { left } key = { key } className = 'rect' >
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const StateRoute = (props: StateRouteProps) => {
36
36
37
37
const { tabs, currentTab } : MainState = useSelector ( ( state : RootState ) => state . main ) ;
38
38
const { hierarchy : tabsHierarchy , sliderIndex, viewIndex : tabsViewIndex } = tabs [ currentTab ] ;
39
- const hierarchy = propsHierarchy || tabsHierarchy ; //JR: RETURN TO THIS: alias to deconstruct from props and tab with the same name, aliases were deleted above
39
+ const hierarchy = propsHierarchy || tabsHierarchy ;
40
40
const viewIndex = propsViewIndex || tabsViewIndex ;
41
41
42
42
return (
Original file line number Diff line number Diff line change 1
1
{
2
- "mode" : " modules" ,
3
-
4
2
"entryPoints" : [" src/" ],
5
3
"out" : " docs/ src/app src/backend" ,
6
4
"readme" : " README.md" ,
You can’t perform that action at this time.
0 commit comments