1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-23 03:19:06 +00:00

Merge pull request #751 from matthew16550/transparent-bg

More changing sequence diagram so group backgrounds are transparent when the diagram background is transparent
This commit is contained in:
arnaudroques 2021-11-08 15:03:44 +01:00 committed by GitHub
commit 4927cffd74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ public class CommandGrouping extends SingleLineCommand2<SequenceDiagram> {
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);

View File

@ -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);