From f7990db4d3441b31cbe6f46c0605d09fb427275f Mon Sep 17 00:00:00 2001 From: MrCoder Date: Fri, 10 Jan 2025 11:36:45 +1100 Subject: [PATCH] fix(return): pull up parent's margin only when the return is the last statement. Fix the issue of rendering: B A A.method { return x B.m } --- .../MessageLayer/Block/Statement/Return/Return.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Return/Return.vue b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Return/Return.vue index 0634cb2e..ea5c2719 100644 --- a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Return/Return.vue +++ b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Return/Return.vue @@ -117,10 +117,8 @@ export default {