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 78c4b04 commit 9947bb0Copy full SHA for 9947bb0
src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Interaction/Occurrence/Occurrence.vue
@@ -7,6 +7,12 @@
7
:data-x-offset="center"
8
:data-debug-center-of="computedCenter"
9
>
10
+ <div
11
+ v-if="debug"
12
+ class="absolute w-full left-0 bg-amber-700 h-3 -top-2 flex justify-center items-center"
13
+ >
14
+ <div class="w-px h-full bg-black"></div>
15
+ </div>
16
<collapse-button
17
v-if="hasAnyStatementsExceptReturn"
18
:collapsed="collapsed"
@@ -39,6 +45,9 @@ export default {
39
45
computed: {
40
46
...mapGetters(["centerOf", "messageLayerLeft"]),
41
47
...mapState(["code"]),
48
+ debug() {
49
+ return !!localStorage.zenumlDebug;
50
+ },
42
51
computedCenter: function () {
43
52
try {
44
53
return this.centerOf(this.participant);
0 commit comments