Skip to content

Commit 249584c

Browse files
committed
improved zoom in Map.tsx and Chart.tsx
1 parent db1f692 commit 249584c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/components/Chart.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ class Chart extends Component {
261261
function zoomed(d: any) {
262262
g.attr('transform', d3.event.transform);
263263
}
264+
265+
// Drag
264266
function dragstarted() {
265267
d3.select(this).raise();
266268
g.attr('cursor', 'grabbing');

0 commit comments

Comments
 (0)