-
Notifications
You must be signed in to change notification settings - Fork 1.4k
2239 text annotation alignment #2241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
lib/features/modeling/behavior/AdaptiveLabelPositioningBehavior.js
Outdated
Show resolved
Hide resolved
bcb9dcf
to
53ed469
Compare
f6160b2
to
56fda2e
Compare
56fda2e
to
87b4f7c
Compare
Seems like tests fail on MacOS. This happens because elements have slightly different bounds across different OS; usually fixed by allocating additional space in the test case. Can you have a look @abdul99ahad? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cf. previous comment. Test currently fails on MacOS.
87b4f7c
to
005f09f
Compare
Updated. Test is now passing on all platforms. Ready for review. |
test/spec/features/modeling/behavior/AdaptiveLabelPositioningBehaviorSpec.js
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff, thanks for following up!
Closes #2239
Proposed Changes
Text annotation can now co exist with flow element label
Checklist
To ensure you provided everything we need to look at your PR:
@bpmn-io/sr
toolCloses {LINK_TO_ISSUE}
orRelated to {LINK_TO_ISSUE}
Requires upstream: bpmn-io/diagram-js#940