Fixed proxy token size being wrong on map view

This commit is contained in:
Mitchell McCaffrey
2020-03-26 15:07:27 +11:00
parent 7c07caa70d
commit 974e39a2e6
2 changed files with 6 additions and 8 deletions

View File

@@ -7,7 +7,6 @@ import ProxyToken from "../components/ProxyToken";
import AddMapButton from "../components/AddMapButton";
const mapTokenClassName = "map-token";
const defaultTokenSize = 48;
const zoomSpeed = -0.005;
const minZoom = 0.1;
const maxZoom = 5;
@@ -181,7 +180,6 @@ function Map({
<ProxyToken
tokenClassName={mapTokenClassName}
onProxyDragEnd={handleProxyDragEnd}
size={defaultTokenSize}
/>
</>
);