Fix crash when selecting a tool while editing a fog polygon
This commit is contained in:
parent
aebc0f9267
commit
ceedceabf5
@ -340,6 +340,7 @@ function MapFog({
|
||||
{shapes.map(renderShape)}
|
||||
{drawingShape && renderShape(drawingShape)}
|
||||
{drawingShape &&
|
||||
selectedToolSettings &&
|
||||
selectedToolSettings.type === "polygon" &&
|
||||
renderPolygonAcceptTick(drawingShape)}
|
||||
{editingShapes.length > 0 && editingShapes.map(renderEditingShape)}
|
||||
|
Loading…
Reference in New Issue
Block a user