Skip to content

Commit e94251f

Browse files
Update src/Frontend/src/components/messages/SequenceDiagram/EndpointsComponent.vue
Co-authored-by: John Simons <[email protected]>
1 parent 0b0f590 commit e94251f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Frontend/src/components/messages/SequenceDiagram/EndpointsComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function setEndpointRef(el: SVGTextElement, index: number) {
8787
:stroke-width="endpoint.surround.strokeWidth"
8888
:stroke="endpoint.surround.stroke"
8989
></rect>
90-
<g :transform="`translate(${(endpoint.x ?? Endpoint_Width / 2) - ((endpoint.textWidth ?? 0) + Endpoint_Image_Width) / 2},0)`">
90+
<g :transform="`translate(${(endpoint.x ?? Endpoint_Width / 2) - ((endpoint.textWidth ?? 0) + Endpoint_Image_Width) / 2}, 0)`">
9191
<path fill="var(--gray40)" d="M 0,0 M 18,18 M 0,2 v 14 h 14 v -4 h -6 v -6 h 6 v -4 h -14 M 9,7 v 4 h 9 v -4"></path>
9292
<text :x="Endpoint_Image_Width" y="10" alignment-baseline="middle" text-anchor="start" :ref="(el) => setEndpointRef(el as SVGTextElement, i)">{{ endpoint.name }}</text>
9393
</g>

0 commit comments

Comments
 (0)