Changed line joins to round for fog and drawing

Avoids the long overhang with three sided fog shapes
This commit is contained in:
Mitchell McCaffrey 2020-08-07 14:05:55 +10:00
parent 239f377aef
commit f19389fbc5
2 changed files with 2 additions and 0 deletions

View File

@ -188,6 +188,7 @@ function MapDrawing({
closed={shape.pathType === "fill"}
fillEnabled={shape.pathType === "fill"}
lineCap="round"
lineJoin="round"
strokeWidth={getStrokeWidth(
shape.strokeWidth,
gridSize,

View File

@ -316,6 +316,7 @@ function MapFog({
fill={colors[shape.color] || shape.color}
closed
lineCap="round"
lineJoin="round"
strokeWidth={getStrokeWidth(
shape.strokeWidth,
gridSize,