mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-19 11:45:09 +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:
commit
4927cffd74
@ -85,7 +85,7 @@ public class CommandGrouping extends SingleLineCommand2<SequenceDiagram> {
|
|||||||
HColor backColorGeneral = null;
|
HColor backColorGeneral = null;
|
||||||
if (s2 != null) {
|
if (s2 != null) {
|
||||||
backColorGeneral = colorSet.getColor(diagram.getSkinParam().getThemeStyle(), s2,
|
backColorGeneral = colorSet.getColor(diagram.getSkinParam().getThemeStyle(), s2,
|
||||||
diagram.getSkinParam().getBackgroundColor(true));
|
diagram.getSkinParam().getBackgroundColor(false));
|
||||||
}
|
}
|
||||||
String comment = arg.get("COMMENT", 0);
|
String comment = arg.get("COMMENT", 0);
|
||||||
final GroupingType groupingType = GroupingType.getType(type);
|
final GroupingType groupingType = GroupingType.getType(type);
|
||||||
|
@ -293,7 +293,7 @@ public class Rose {
|
|||||||
return new ComponentRoseGroupingElse(styles == null ? null : styles[0],
|
return new ComponentRoseGroupingElse(styles == null ? null : styles[0],
|
||||||
getHtmlColor(param, stereotype, ColorParam.sequenceGroupBorder),
|
getHtmlColor(param, stereotype, ColorParam.sequenceGroupBorder),
|
||||||
getUFont2(param, FontParam.SEQUENCE_GROUP), stringsToDisplay.get(0), param,
|
getUFont2(param, FontParam.SEQUENCE_GROUP), stringsToDisplay.get(0), param,
|
||||||
param.getBackgroundColor(true), roundCorner);
|
param.getBackgroundColor(false), roundCorner);
|
||||||
}
|
}
|
||||||
if (type == ComponentType.GROUPING_SPACE) {
|
if (type == ComponentType.GROUPING_SPACE) {
|
||||||
return new ComponentRoseGroupingSpace(7);
|
return new ComponentRoseGroupingSpace(7);
|
||||||
|
Loading…
Reference in New Issue
Block a user