Skip to content

Commit 1a7d55e

Browse files
committed
final update to d3 colors and basic d3 error handling
1 parent 621c7d5 commit 1a7d55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/PerfView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const PerfView = ({ snapshots, viewIndex, width = 600, height = 600 }) => {
107107

108108
// Zoom/relocated nodes and labels based on dimensions given [x, y, r]
109109
function zoomViewArea(newXYR) {
110-
// console.log("zoomTo -> v", v);
110+
console.log("zoomTo -> newXYR", newXYR);
111111
const k = width / newXYR[2];
112112
view = newXYR;
113113
label.attr('transform', d => `translate(${(d.x - newXYR[0]) * k},${(d.y - newXYR[1]) * k})`);

0 commit comments

Comments
 (0)