Commit dd473e73 authored by Nico Mack's avatar Nico Mack

Minor fix in bootstrapping of BaseSectorBuilder

parent df3066ab
......@@ -126,7 +126,7 @@ public abstract class BaseSectorBuilder<B extends BaseSectorBuilder<B>> extends
/** Optional fields */
gap = BootstrappingUtils.getContentAsInteger(rootElement, Externalization.GAP_NODE, BootstrappingUtils.OPTIONAL, 0, context);
gap = (int) BootstrappingUtils.getContentAsDegrees(rootElement, Externalization.GAP_NODE, BootstrappingUtils.OPTIONAL, 0d, context);
strokeWidth = BootstrappingUtils.getContentAsInteger(rootElement, Externalization.STROKE_WIDTH_NODE, BootstrappingUtils.OPTIONAL, 1, context);
fillColour = buildColorPair(rootElement.getChild(Externalization.FILL_COLOUR_ELEMENT), context);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment