Skip to content

Commit

Permalink
Edge label projections should not be redundantly calculated #2327
Browse files Browse the repository at this point in the history
The control point code already calls `recalculateEdgeLabelProjections()`
  • Loading branch information
maxkfranz committed Mar 5, 2019
1 parent 9e379ba commit 75f7078
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/extensions/renderer/base/coord-ele-math/rendered-style.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ BRp.recalculateRenderedStyle = function( eles, useCache ){
var rstyle = _p.rstyle;
var rs = _p.rscratch;

this.recalculateEdgeLabelProjections( ele );

// update rstyle positions
rstyle.srcX = rs.arrowStartX;
rstyle.srcY = rs.arrowStartY;
Expand Down

0 comments on commit 75f7078

Please sign in to comment.