Skip to content

Commit

Permalink
Cherry-pick to master: Remove call to isBundledBezier() in checkBound…
Browse files Browse the repository at this point in the history
…sTrigger()

Fixes #3299

@mikekucera
  • Loading branch information
mikekucera authored and maxkfranz committed Nov 20, 2024
1 parent a5e37be commit c7dfb2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/style/apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -821,9 +821,7 @@ styfn.checkBoundsTrigger = function( ele, name, fromValue, toValue ){
&& ( name === 'curve-style' && (fromValue === 'bezier' || toValue === 'bezier') )
){
ele.parallelEdges().forEach(pllEdge => {
if( pllEdge.isBundledBezier() ){
pllEdge.dirtyBoundingBoxCache();
}
pllEdge.dirtyBoundingBoxCache();
});
}

Expand Down

0 comments on commit c7dfb2d

Please sign in to comment.