react-simple-maps
Advanced tools
Comparing version 0.8.2 to 0.8.3
@@ -80,5 +80,7 @@ "use strict"; | ||
if (this.props.disablePanning) return; | ||
this.setState({ | ||
isPressed: false | ||
}); | ||
if (this.state.isPressed) { | ||
this.setState({ | ||
isPressed: false | ||
}); | ||
} | ||
} | ||
@@ -85,0 +87,0 @@ }, { |
{ | ||
"name": "react-simple-maps", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "An svg map component built with and for React", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -54,5 +54,7 @@ | ||
if (this.props.disablePanning) return | ||
this.setState({ | ||
isPressed: false, | ||
}) | ||
if (this.state.isPressed) { | ||
this.setState({ | ||
isPressed: false, | ||
}) | ||
} | ||
} | ||
@@ -59,0 +61,0 @@ handleMouseDown({ pageX, pageY }) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
953774
4604