diff --git a/frontend/src/TileMap.elm b/frontend/src/TileMap.elm index e9a63df..e863ec0 100644 --- a/frontend/src/TileMap.elm +++ b/frontend/src/TileMap.elm @@ -61,7 +61,7 @@ reflect c = Coord -c.x -c.y -- translate : a -> a -> a translate base offset = - { base | x = (base.x + offset.x), y = (base.y + offset.y) } + { x = (base.x + offset.x), y = (base.y + offset.y) } translatePixels : Coord -> ZoomLevel -> (Int, Int) -> Coord translatePixels old z (x, y) = translate old (pixelsToCoord z (x, y))