From 09858dc93b4653bbaee2b11dfdc8ad37ff5ae824 Mon Sep 17 00:00:00 2001 From: mcglincy Date: Sun, 28 Nov 2021 09:05:15 -0600 Subject: [PATCH] Fix typo. --- scripts/renderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/renderer.js b/scripts/renderer.js index a7252e6..2f39399 100644 --- a/scripts/renderer.js +++ b/scripts/renderer.js @@ -135,7 +135,7 @@ const addExteriorShadow = (container, config, geometry) => { const poly = geometry.getGeometryN(i); addExteriorShadowForPoly(container, config, poly); } - } else if (state.geometry instanceof jsts.geom.Polygon) { + } else if (geometry instanceof jsts.geom.Polygon) { addExteriorShadowForPoly(container, config, geometry); } }