Use commas instead of x for coords

Since the coords shown on top left is in comma
This commit is contained in:
Hans5958 2022-04-09 11:34:13 +07:00
parent 98e60fc14b
commit 0dad9761dc

View file

@ -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);