Optimized fog shapes to only include needed data
This commit is contained in:
@@ -314,7 +314,7 @@ function MapFog({
|
||||
} else if (toolSettings.type === "toggle") {
|
||||
onShapesEdit(
|
||||
editingShapes.map((shape) => ({
|
||||
...shape,
|
||||
id: shape.id,
|
||||
visible: !shape.visible,
|
||||
}))
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user