cytoscape
Advanced tools
Comparing version 2.7.20 to 2.7.21
/*! | ||
Cytoscape.js 2.7.20 (MIT licensed) | ||
Cytoscape.js 2.7.21 (MIT licensed) | ||
@@ -6,0 +6,0 @@ Copyright (c) The Cytoscape Consortium |
{ | ||
"name": "cytoscape", | ||
"version": "2.7.20", | ||
"version": "2.7.21", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Graph theory (a.k.a. network) library for analysis and visualisation", |
@@ -286,4 +286,6 @@ 'use strict'; | ||
var endPos = ani_p.position; | ||
var pos = _p.position; | ||
if( endPos && isEles ){ | ||
if( endPos && isEles && !self.locked() ){ | ||
var pos = _p.position; | ||
if( valid( startPos.x, endPos.x ) ){ | ||
@@ -684,2 +686,6 @@ pos.x = ease( startPos.x, endPos.x, percent, easing ); | ||
function getEasedValue( type, start, end, percent, easingFn ){ | ||
if( percent === 1 ){ | ||
return end; | ||
} | ||
var val = easingFn( start, end, percent ); | ||
@@ -686,0 +692,0 @@ |
@@ -566,5 +566,5 @@ 'use strict'; | ||
parent = parent[0]; | ||
parent.trigger( evt ); | ||
parent.trigger( evt, extraParams ); | ||
} else { // otherwise, bubble up to the core | ||
cy.trigger( evt ); | ||
cy.trigger( evt, extraParams ); | ||
} | ||
@@ -571,0 +571,0 @@ } |
@@ -1,1 +0,1 @@ | ||
module.exports = "2.7.20"; | ||
module.exports = "2.7.21"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
4337762
44064