Skip to content

Commit

Permalink
Remove call to isBundledBezier() in checkBoundsTrigger()
Browse files Browse the repository at this point in the history
Fixes #3299
  • Loading branch information
mikekucera committed Nov 18, 2024
1 parent 40fec5a commit b39db33
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 b39db33

Please sign in to comment.