This commit is contained in:
Azgaar 2022-05-08 19:22:19 +03:00
commit 02e0669282
3 changed files with 4 additions and 2 deletions

View file

@ -120,7 +120,8 @@ window.UISubmap = (function () {
rescaleStyles: checked("submapRescaleStyles"),
smoothHeightMap: scale > 2,
inverse: (x, y) => [x / origScale + x0, y / origScale + y0],
projection: (x, y) => [(x - x0) * origScale, (y - y0) * origScale]
projection: (x, y) => [(x - x0) * origScale, (y - y0) * origScale],
scale: origScale,
};
// converting map position on the planet