@everymatrix/casino-engagement-suite-container 1.77.4 → 1.77.5
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.
|
@@ -5169,12 +5169,10 @@ class SvgCalc {
|
|
|
5169
5169
|
getPropsForPartitionInfo(index, offset, baseRadius, contentDirection, size) {
|
|
5170
5170
|
const { point, transformOrigin } = this.getPartitionPositions(index, baseRadius, offset);
|
|
5171
5171
|
const isSmallSize = this.options.length >= 12;
|
|
5172
|
-
const
|
|
5173
|
-
const withImage = this.options[index].Image;
|
|
5174
|
-
const xTranslate = contentDirection === 0 ? -7 + (isSmallSize ? -2 : 0) : -(size === null || size === void 0 ? void 0 : size.width) / 2 || -30;
|
|
5172
|
+
const xTranslate = contentDirection === 0 ? -7 + (isSmallSize ? -2 : 0) : point.x - 32;
|
|
5175
5173
|
const yTranslate = contentDirection === 0
|
|
5176
5174
|
? (this.center === 170 ? 70 : 76.5)
|
|
5177
|
-
:
|
|
5175
|
+
: point.y;
|
|
5178
5176
|
const getTransformOriginString = (vector) => Object.keys(vector)
|
|
5179
5177
|
.map((axis) => `${vector[axis]}px`)
|
|
5180
5178
|
.join(' ');
|
|
@@ -5165,12 +5165,10 @@ class SvgCalc {
|
|
|
5165
5165
|
getPropsForPartitionInfo(index, offset, baseRadius, contentDirection, size) {
|
|
5166
5166
|
const { point, transformOrigin } = this.getPartitionPositions(index, baseRadius, offset);
|
|
5167
5167
|
const isSmallSize = this.options.length >= 12;
|
|
5168
|
-
const
|
|
5169
|
-
const withImage = this.options[index].Image;
|
|
5170
|
-
const xTranslate = contentDirection === 0 ? -7 + (isSmallSize ? -2 : 0) : -(size === null || size === void 0 ? void 0 : size.width) / 2 || -30;
|
|
5168
|
+
const xTranslate = contentDirection === 0 ? -7 + (isSmallSize ? -2 : 0) : point.x - 32;
|
|
5171
5169
|
const yTranslate = contentDirection === 0
|
|
5172
5170
|
? (this.center === 170 ? 70 : 76.5)
|
|
5173
|
-
:
|
|
5171
|
+
: point.y;
|
|
5174
5172
|
const getTransformOriginString = (vector) => Object.keys(vector)
|
|
5175
5173
|
.map((axis) => `${vector[axis]}px`)
|
|
5176
5174
|
.join(' ');
|