Move drawing simplify away from grid dependent scaling

This commit is contained in:
Mitchell McCaffrey
2021-06-06 09:39:07 +10:00
parent f5ccbe8f8f
commit 948be7cac2
3 changed files with 5 additions and 12 deletions

View File

@@ -176,8 +176,7 @@ function MapFog({
}
const simplified = simplifyPoints(
[...prevPoints, brushPosition],
gridCellNormalizedSize,
stageScale / 4
1 / 1000 / stageScale
);
return {
...prevShape,