Removed unused props from map drawing and fog

This commit is contained in:
Mitchell McCaffrey 2020-11-03 16:38:26 +11:00
parent 9fbd0d2a9d
commit 84af4c5845
3 changed files with 0 additions and 4 deletions

View File

@ -311,7 +311,6 @@ function Map({
onShapeAdd={handleMapShapeAdd}
onShapesRemove={handleMapShapesRemove}
active={selectedToolId === "drawing"}
toolId="drawing"
toolSettings={settings.drawing}
gridSize={gridSizeNormalized}
/>
@ -326,7 +325,6 @@ function Map({
onShapesRemove={handleFogShapesRemove}
onShapesEdit={handleFogShapesEdit}
active={selectedToolId === "fog"}
toolId="fog"
toolSettings={settings.fog}
gridSize={gridSizeNormalized}
transparent={allowFogDrawing && !settings.fog.preview}

View File

@ -23,7 +23,6 @@ function MapDrawing({
onShapeAdd,
onShapesRemove,
active,
toolId,
toolSettings,
gridSize,
}) {

View File

@ -30,7 +30,6 @@ function MapFog({
onShapesRemove,
onShapesEdit,
active,
toolId,
toolSettings,
gridSize,
transparent,