Comparing version 10.1.2 to 10.1.3
@@ -236,4 +236,7 @@ 'use strict'; | ||
var scale = this.props.scale; | ||
var offset = this.getOffsetFromParent(); | ||
var pos = this.getDraggablePosition(); | ||
this.resizingPosition = { x: pos.x + offset.left, y: pos.y + offset.top }; | ||
this.setState({ | ||
original: this.getDraggablePosition(), | ||
original: pos, | ||
}); | ||
@@ -240,0 +243,0 @@ if (this.props.bounds) { |
@@ -232,4 +232,7 @@ import { createElement, PureComponent } from 'react'; | ||
var scale = this.props.scale; | ||
var offset = this.getOffsetFromParent(); | ||
var pos = this.getDraggablePosition(); | ||
this.resizingPosition = { x: pos.x + offset.left, y: pos.y + offset.top }; | ||
this.setState({ | ||
original: this.getDraggablePosition(), | ||
original: pos, | ||
}); | ||
@@ -236,0 +239,0 @@ if (this.props.bounds) { |
{ | ||
"name": "react-rnd", | ||
"version": "10.1.2", | ||
"version": "10.1.3", | ||
"description": "", | ||
@@ -93,3 +93,3 @@ "title": "react-rnd", | ||
"tslint-react": "4.0.0", | ||
"typescript": "3.6.3" | ||
"typescript": "3.7.3" | ||
}, | ||
@@ -96,0 +96,0 @@ "files": [ |
@@ -511,2 +511,7 @@ <p align="center"><img src ="https://github.com/bokuweb/react-rnd/blob/master/logo.png?raw=true" /></p> | ||
#### v10.1.2 | ||
- Upgrade re-resizable to 6.1.1 | ||
- Upgrade react-draggable to 4.1.0 | ||
#### v10.1.1 | ||
@@ -513,0 +518,0 @@ |
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
84034
1036
810