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

Merge pull request #743 from matthew16550/middle-circle

Change svek line middle circle default color, from white to diagram background color
This commit is contained in:
arnaudroques 2021-11-07 12:10:33 +01:00 committed by GitHub
commit d3c0a59782
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,6 @@ import net.sourceforge.plantuml.ugraphic.UStroke;
import net.sourceforge.plantuml.ugraphic.UTranslate; import net.sourceforge.plantuml.ugraphic.UTranslate;
import net.sourceforge.plantuml.ugraphic.color.HColor; import net.sourceforge.plantuml.ugraphic.color.HColor;
import net.sourceforge.plantuml.ugraphic.color.HColorNone; import net.sourceforge.plantuml.ugraphic.color.HColorNone;
import net.sourceforge.plantuml.ugraphic.color.HColorUtils;
public class SvekLine implements Moveable, Hideable, GuideLine { public class SvekLine implements Moveable, Hideable, GuideLine {
@ -234,7 +233,7 @@ public class SvekLine implements Moveable, Hideable, GuideLine {
this.defaultThickness = skinParam.getThickness(LineParam.arrow, null); this.defaultThickness = skinParam.getThickness(LineParam.arrow, null);
this.arrowLollipopColor = skinParam.getHtmlColor(ColorParam.arrowLollipop, null, false); this.arrowLollipopColor = skinParam.getHtmlColor(ColorParam.arrowLollipop, null, false);
if (arrowLollipopColor == null) { if (arrowLollipopColor == null) {
this.arrowLollipopColor = HColorUtils.WHITE; this.arrowLollipopColor = backgroundColor;
} }
this.pragma = pragma; this.pragma = pragma;
this.bibliotekon = bibliotekon; this.bibliotekon = bibliotekon;