Skip to content

Commit

Permalink
ele.removed() typo re. #2771 #2791
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz committed Dec 2, 2020
1 parent 6611acd commit 17a32d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/renderer/canvas/ele-texture-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ ETCp.getElement = function( ele, bb, pxRatio, lvl, reason ){
let zoom = r.cy.zoom();
let lookup = this.lookup;

if( !bb || bb.w === 0 || bb.h === 0 || isNaN(bb.w) || isNaN(bb.h) || !ele.visible() || !ele.removed() ){ return null; }
if( !bb || bb.w === 0 || bb.h === 0 || isNaN(bb.w) || isNaN(bb.h) || !ele.visible() || ele.removed() ){ return null; }

if(
( !self.allowEdgeTxrCaching && ele.isEdge() )
Expand Down

0 comments on commit 17a32d7

Please sign in to comment.