mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
Merge pull request #1183 from weaveworks/downgrade-react-motion
Downgrade react-motion
This commit is contained in:
@@ -10,7 +10,7 @@ const line = d3.svg.line()
|
||||
.x(d => d.x)
|
||||
.y(d => d.y);
|
||||
|
||||
const animConfig = {stiffness: 80, damping: 20};
|
||||
const animConfig = [80, 20]; // stiffness, damping
|
||||
|
||||
const flattenPoints = points => {
|
||||
const flattened = {};
|
||||
|
||||
@@ -59,7 +59,7 @@ export default class Node extends React.Component {
|
||||
const onMouseLeave = this.handleMouseLeave;
|
||||
const onMouseClick = this.handleMouseClick;
|
||||
const classNames = ['node'];
|
||||
const animConfig = {stiffness: 80, damping: 20};
|
||||
const animConfig = [80, 20]; // stiffness, damping
|
||||
const label = this.ellipsis(props.label, 14, nodeScale(4 * scaleFactor));
|
||||
const subLabel = this.ellipsis(props.subLabel, 12, nodeScale(4 * scaleFactor));
|
||||
let labelFontSize = 14;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"react-addons-transition-group": "^0.14.7",
|
||||
"react-addons-update": "^0.14.7",
|
||||
"react-dom": "^0.14.7",
|
||||
"react-motion": "0.4.2",
|
||||
"react-motion": "0.3.1",
|
||||
"reqwest": "~2.0.5",
|
||||
"timely": "0.1.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user