You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

react-resizable-rotatable-draggable

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-resizable-rotatable-draggable - npm Package Compare versions

Comparing version

to
0.1.6

11

lib/components/Rect/index.js

@@ -208,7 +208,7 @@ "use strict";

var style = {
width: width,
height: height,
width: Math.abs(width),
height: Math.abs(height),
transform: "rotate(".concat(rotateAngle, "deg)"),
left: centerX - width / 2,
top: centerY - height / 2
left: centerX - Math.abs(width) / 2,
top: centerY - Math.abs(height) / 2
};

@@ -268,3 +268,4 @@ var direction = zoomable.split(',').map(function (d) {

onDrag: _propTypes.default.func,
onDragEnd: _propTypes.default.func
onDragEnd: _propTypes.default.func,
parentRotateAngle: _propTypes.default.number
});
{
"name": "react-resizable-rotatable-draggable",
"version": "0.1.5",
"version": "0.1.6",
"description": "A rectangle react component which can be resized and rotated",

@@ -5,0 +5,0 @@ "author": "MockingBot",