Skip to content

Commit 0c1c03e

Browse files
authored
Make resetZoom accept UpdateMode argument (#483)
1 parent dda1f08 commit 0c1c03e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default {
3737
chart.pan = (delta, panScales, transition) => pan(chart, delta, panScales, transition);
3838
chart.zoom = (args, transition) => zoom(chart, args, transition);
3939
chart.zoomScale = (id, range, transition) => zoomScale(chart, id, range, transition);
40-
chart.resetZoom = () => resetZoom(chart);
40+
chart.resetZoom = (transition) => resetZoom(chart, transition);
4141
},
4242

4343
beforeEvent(chart, args) {

0 commit comments

Comments
 (0)