Removed unused props from map drawing and fog
This commit is contained in:
parent
9fbd0d2a9d
commit
84af4c5845
@ -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}
|
||||
|
@ -23,7 +23,6 @@ function MapDrawing({
|
||||
onShapeAdd,
|
||||
onShapesRemove,
|
||||
active,
|
||||
toolId,
|
||||
toolSettings,
|
||||
gridSize,
|
||||
}) {
|
||||
|
@ -30,7 +30,6 @@ function MapFog({
|
||||
onShapesRemove,
|
||||
onShapesEdit,
|
||||
active,
|
||||
toolId,
|
||||
toolSettings,
|
||||
gridSize,
|
||||
transparent,
|
||||
|
Loading…
Reference in New Issue
Block a user