From 60fac9cd96146b5ccb28a24aab179b4375154c7c Mon Sep 17 00:00:00 2001 From: matthew16550 Date: Tue, 9 Nov 2021 00:46:19 +1100 Subject: [PATCH] More changing sequence diagram so group backgrounds are transparent when the diagram background is transparent --- .../plantuml/sequencediagram/command/CommandGrouping.java | 2 +- src/net/sourceforge/plantuml/skin/rose/Rose.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/sourceforge/plantuml/sequencediagram/command/CommandGrouping.java b/src/net/sourceforge/plantuml/sequencediagram/command/CommandGrouping.java index 74a184959..51dedbe8c 100644 --- a/src/net/sourceforge/plantuml/sequencediagram/command/CommandGrouping.java +++ b/src/net/sourceforge/plantuml/sequencediagram/command/CommandGrouping.java @@ -85,7 +85,7 @@ public class CommandGrouping extends SingleLineCommand2 { HColor backColorGeneral = null; if (s2 != null) { backColorGeneral = colorSet.getColor(diagram.getSkinParam().getThemeStyle(), s2, - diagram.getSkinParam().getBackgroundColor(true)); + diagram.getSkinParam().getBackgroundColor(false)); } String comment = arg.get("COMMENT", 0); final GroupingType groupingType = GroupingType.getType(type); diff --git a/src/net/sourceforge/plantuml/skin/rose/Rose.java b/src/net/sourceforge/plantuml/skin/rose/Rose.java index c4c61d072..fa90e51bb 100644 --- a/src/net/sourceforge/plantuml/skin/rose/Rose.java +++ b/src/net/sourceforge/plantuml/skin/rose/Rose.java @@ -293,7 +293,7 @@ public class Rose { return new ComponentRoseGroupingElse(styles == null ? null : styles[0], getHtmlColor(param, stereotype, ColorParam.sequenceGroupBorder), getUFont2(param, FontParam.SEQUENCE_GROUP), stringsToDisplay.get(0), param, - param.getBackgroundColor(true), roundCorner); + param.getBackgroundColor(false), roundCorner); } if (type == ComponentType.GROUPING_SPACE) { return new ComponentRoseGroupingSpace(7);