1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-20 04:00:53 +00:00

Change svek line middle circle default color, from white to diagram background color

This commit is contained in:
matthew16550 2021-11-05 16:03:15 +11:00
parent 0bc682468f
commit ba9b69aeb1

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;
@ -1042,4 +1041,4 @@ public class SvekLine implements Moveable, Hideable, GuideLine {
return link.getStereotype(); return link.getStereotype();
} }
} }