diff --git a/src/leaflet/control/LogoControl.ts b/src/leaflet/control/LogoControl.ts index 44143b9..107a153 100644 --- a/src/leaflet/control/LogoControl.ts +++ b/src/leaflet/control/LogoControl.ts @@ -53,12 +53,3 @@ export class LogoControl extends Control { return container; } } - -// -// dynmap.map.options.attributionControl = false; -// if (dynmap.map.attributionControl) { -// dynmap.map.removeControl(dynmap.map.attributionControl); -// dynmap.map.attributionControl = null; -// } -// } -// ; diff --git a/src/util/areas.ts b/src/util/areas.ts index e7bc2f9..8619291 100644 --- a/src/util/areas.ts +++ b/src/util/areas.ts @@ -49,7 +49,6 @@ export const updateArea = (area: Polyline | Polygon | undefined, options: Dynmap dirty = true; } - if(!arePointsEqual(oldPoints.length === 1 ? oldPoints[0] : oldPoints, points)) { area.setLatLngs(points); dirty = true;