@truelab/truengine 1.1.2 → 1.1.3
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.
- package/dist/truengine.js +1 -1
- package/package.json +1 -1
package/dist/truengine.js
CHANGED
|
@@ -15722,7 +15722,7 @@ class Ya extends Ct {
|
|
|
15722
15722
|
const _ = Math.sqrt((u.x - m.x) ** 2 + (u.y - m.y) ** 2);
|
|
15723
15723
|
_ < o && (o = _, h = m);
|
|
15724
15724
|
}
|
|
15725
|
-
const { chessOffset: l =
|
|
15725
|
+
const { chessOffset: l = 0, offset: f = { x: 0, y: 0 } } = this._config.positioning || {}, { reelWidth: a, indentLeft: c } = this._grid, d = Math.floor(Math.abs(h.x / (a + c))), p = new Mt().copyFrom(h);
|
|
15726
15726
|
return p.y += d % 2 ? l : -l, p.x += f.x, p.y += f.y, p;
|
|
15727
15727
|
}
|
|
15728
15728
|
_isPositionOccupied(t, i) {
|