We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c62f833 commit 821947eCopy full SHA for 821947e
src/Frontend/src/components/messages/SequenceDiagram/HandlersComponent.vue
@@ -41,6 +41,7 @@ const handlerItems = computed(() => {
41
return 0;
42
})();
43
44
+ //determine which side of the handler to render the messageType on. If it's the left side (for a right arrow) then we apply a negative offset
45
const messageTypeOffset = handler.direction === Direction.Right ? ((messageTypeElement?.getBBox().width ?? 0) + 24) * -1 : 20;
46
if (messageTypeOffset < 0) {
47
store.setStartX(-1 * messageTypeOffset);
0 commit comments