mirror of
https://github.com/octoleo/plantuml.git
synced 2025-02-02 12:08:34 +00:00
Fix regression for Sequence Diagram default margins when using Puma.
This commit is contained in:
parent
4a1a8787d0
commit
c20fe8d58f
@ -531,6 +531,8 @@ public class SequenceDiagram extends UmlDiagram {
|
||||
|
||||
@Override
|
||||
public ClockwiseTopRightBottomLeft getDefaultMargins() {
|
||||
return ClockwiseTopRightBottomLeft.same(5);
|
||||
return modeTeoz() // this is for backward compatibility
|
||||
? ClockwiseTopRightBottomLeft.same(5)
|
||||
: ClockwiseTopRightBottomLeft.topRightBottomLeft(5, 5, 5, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user