@gamepark/react-game 6.37.10 → 6.37.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -250,7 +250,7 @@ var HexagonalGridLocator = /** @class */ (function (_super) {
|
|
|
250
250
|
})), false));
|
|
251
251
|
boundaries.yMax = Math.max.apply(Math, __spreadArray([], __read(polyhex.grid.map(function (line, index) {
|
|
252
252
|
var xMax = boundaries.xMax + (0, findLastIndex_1.default)(line, function (value) { return !polyhex.isEmpty(value); });
|
|
253
|
-
return (boundaries.
|
|
253
|
+
return (boundaries.yMin + index + xMax / 2) * Math.sqrt(3) * _this.sizeY;
|
|
254
254
|
})), false));
|
|
255
255
|
}
|
|
256
256
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gamepark/react-game",
|
|
3
|
-
"version": "6.37.
|
|
3
|
+
"version": "6.37.11",
|
|
4
4
|
"description": "React components & tools to create a Board Game user interface for Game Park",
|
|
5
5
|
"author": "Romain Fromi <romain@game-park.com> (https://game-park.com/)",
|
|
6
6
|
"license": "ISC",
|