mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-25 07:14:18 +01:00
Use commas instead of x for coords
Since the coords shown on top left is in comma
This commit is contained in:
parent
98e60fc14b
commit
0dad9761dc
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function createInfoBlock(entry) {
|
|||
}
|
||||
|
||||
let [x, y] = entry.center;
|
||||
element.appendChild(createInfoParagraph("Position: ", `${Math.floor(x)}x${Math.floor(y)}`));
|
||||
element.appendChild(createInfoParagraph("Position: ", `${Math.floor(x)}, ${Math.floor(y)}`));
|
||||
|
||||
if(entry.path){
|
||||
let area = calcPolygonArea(entry.path);
|
||||
|
|
Loading…
Reference in a new issue