Closed andersfischernielsen closed 3 years ago
This has nothing to do with devicePixelRatio
.
It simply looks like the conversion from screen coordinates to map coordinates is buggy in getClosestPoint
in Map.vue
.
After doing some digging in the placement code, it turns out that getMatrixCoordCorner
in HexCoordinate.ts
is buggy
Sometimes when placing a house or a city on the board, the resulting building will be placed elsewhere on the board. Undo fixes this, but it's not very elegant to have to place houses multiple times to get them to stick where you want. Roads also seem bugged.