@mw-kit/mw-ui 1.6.1 → 1.6.2
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12193,7 +12193,7 @@ var AbsoluteContainer = React__default.forwardRef(function (props, fowardedRef)
|
|
|
12193
12193
|
var y = top * 100 / height;
|
|
12194
12194
|
|
|
12195
12195
|
if (axis === 'y') {
|
|
12196
|
-
var xDirection = x > center.x ? '
|
|
12196
|
+
var xDirection = x > center.x ? 'right' : 'left';
|
|
12197
12197
|
var yDirection = y > center.y ? 'top' : 'bottom';
|
|
12198
12198
|
var newPosition = xDirection + " " + yDirection;
|
|
12199
12199
|
return newPosition;
|