react-svg-pan-zoom
Advanced tools
Comparing version
@@ -330,3 +330,3 @@ 'use strict'; | ||
if (tool === _constants.TOOL_PAN) style.cursor = (0, _cursor2.default)(mode === _constants.MODE_PANNING ? 'grabbing' : 'grab'); | ||
if (tool === _constants.TOOL_ZOOM) gStyle.cursor = (0, _cursor2.default)(specialKeyEnabled ? 'zoom-out' : 'zoom-in'); | ||
if (tool === _constants.TOOL_ZOOM) style.cursor = (0, _cursor2.default)(specialKeyEnabled ? 'zoom-out' : 'zoom-in'); | ||
@@ -333,0 +333,0 @@ var zoomSelectionRect = void 0; |
{ | ||
"name": "react-svg-pan-zoom", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A React component that adds pan and zoom features to SVG", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -212,3 +212,3 @@ import React from 'react'; | ||
if (tool === TOOL_PAN) style.cursor = cursor(mode === MODE_PANNING ? 'grabbing' : 'grab'); | ||
if (tool === TOOL_ZOOM) gStyle.cursor = cursor(specialKeyEnabled ? 'zoom-out' : 'zoom-in'); | ||
if (tool === TOOL_ZOOM) style.cursor = cursor(specialKeyEnabled ? 'zoom-out' : 'zoom-in'); | ||
@@ -215,0 +215,0 @@ let zoomSelectionRect; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
-100%1011204
0