@rfkit/charts 1.1.27 → 1.1.28
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/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2234,7 +2234,6 @@ var __webpack_modules__ = {
|
|
|
2234
2234
|
white-space: nowrap;
|
|
2235
2235
|
margin-left: 10px;
|
|
2236
2236
|
font-size: 12px;
|
|
2237
|
-
transition: transform .2s ease-out, margin-left .2s ease-out;
|
|
2238
2237
|
position: absolute;
|
|
2239
2238
|
top: 10px;
|
|
2240
2239
|
left: -200px;
|
|
@@ -9905,9 +9904,10 @@ function splitZoomLeft({ left, globalID }) {
|
|
|
9905
9904
|
const { zoom, segments } = getGlobalStoreState(globalID);
|
|
9906
9905
|
const { start, end } = zoom.interval;
|
|
9907
9906
|
const { totalPoints } = segments;
|
|
9908
|
-
const safeLeft =
|
|
9907
|
+
const safeLeft = left;
|
|
9909
9908
|
const intervalWidth = end - start + 1;
|
|
9910
|
-
const
|
|
9909
|
+
const rawInsideLeft = (safeLeft * totalPoints / 100 - start) * 100 / intervalWidth;
|
|
9910
|
+
const insideLeft = rawInsideLeft;
|
|
9911
9911
|
const outsideLeft = 100 * start / totalPoints;
|
|
9912
9912
|
const multiple = totalPoints / intervalWidth;
|
|
9913
9913
|
return {
|