Added back fog stroke when not editing

This commit is contained in:
Mitchell McCaffrey 2021-02-22 10:41:34 +11:00
parent b372e4504d
commit 525398d2ec

View File

@ -492,7 +492,7 @@ function MapFog({
closed
lineCap="round"
lineJoin="round"
strokeWidth={editable ? gridStrokeWidth * shape.strokeWidth : 0}
strokeWidth={gridStrokeWidth * shape.strokeWidth}
opacity={editable ? (!shape.visible ? 0.2 : 0.5) : 1}
fillPatternImage={patternImage}
fillPriority={active && !shape.visible ? "pattern" : "color"}