cytoscape
Advanced tools
Comparing version 2.7.28 to 2.7.29
/*! | ||
Cytoscape.js 2.7.28 (MIT licensed) | ||
Cytoscape.js 2.7.29 (MIT licensed) | ||
@@ -6,0 +6,0 @@ Copyright (c) The Cytoscape Consortium |
{ | ||
"name": "cytoscape", | ||
"version": "2.7.28", | ||
"version": "2.7.29", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Graph theory (a.k.a. network) library for analysis and visualisation", |
@@ -94,2 +94,21 @@ /* | ||
r.data.eleTxrCache.invalidateElement( ele ); | ||
// NB this block of code should not be ported to 3.3 (unstable branch). | ||
// - This check is unneccesary in 3.3 as caches will be stored without respect to opacity. | ||
// - This fix may result in lowered performance for compound graphs. | ||
// - Ref : Opacity of child node is not updated for certain zoom levels after parent opacity is overriden #2078 | ||
if( ele.isParent() && de['style'] ){ | ||
var op1 = rs.prevParentOpacity; | ||
var op2 = ele.pstyle('opacity').pfValue; | ||
rs.prevParentOpacity = op2; | ||
if( op1 !== op2 ){ | ||
var descs = ele.descendants(); | ||
for( var j = 0; j < descs.length; j++ ){ | ||
r.data.eleTxrCache.invalidateElement( descs[j] ); | ||
} | ||
} | ||
} | ||
} | ||
@@ -96,0 +115,0 @@ } |
@@ -1,1 +0,1 @@ | ||
module.exports = "2.7.28"; | ||
module.exports = "2.7.29"; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
4344876
44181