Skip to content

Commit

Permalink
fix: flow text alignment issue when placed text annotation
Browse files Browse the repository at this point in the history
Closes #2239
  • Loading branch information
abdul99ahad committed Sep 30, 2024
1 parent 6bd0d8f commit 4cb0fad
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ export default function AdaptiveLabelPositioningBehavior(eventBus, modeling) {

var elementTrbl = asTRBL(element);

if (Object.values(elementTrbl).some(value => value == undefined || isNaN(value))) {
return;
}

var newLabelMid;

switch (orientation) {
Expand Down

0 comments on commit 4cb0fad

Please sign in to comment.