fix: some bundle stuff

This commit is contained in:
Braks
2021-07-10 14:28:21 +02:00
parent e87d13afb5
commit f685c7a20a
6 changed files with 13 additions and 18 deletions
+3 -3
View File
@@ -42,9 +42,9 @@ const useZoomPanHelper = (): ZoomPanHelperFunctions => {
bounds,
width,
height,
options.minZoom ?? minZoom,
options.maxZoom ?? maxZoom,
options.padding ?? DEFAULT_PADDING
options.minZoom || minZoom,
options.maxZoom || maxZoom,
options.padding || DEFAULT_PADDING
);
const transform = zoomIdentity.translate(x, y).scale(zoom);