@dcg-overseas/number-line 0.1.17 → 0.1.18
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.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -484,7 +484,7 @@ function NumberLineProvider({
|
|
|
484
484
|
);
|
|
485
485
|
}
|
|
486
486
|
function buildArcPath({ x1, x2, y, rx, ry }) {
|
|
487
|
-
return `M ${x1} ${y -
|
|
487
|
+
return `M ${x1} ${y - 20} A ${rx} ${ry} 0 0 1 ${x2} ${y - 20}`;
|
|
488
488
|
}
|
|
489
489
|
function computeLabelStep(containerWidth, range) {
|
|
490
490
|
const maxLabels = Math.floor(containerWidth / 40);
|
package/dist/index.js
CHANGED
|
@@ -482,7 +482,7 @@ function NumberLineProvider({
|
|
|
482
482
|
);
|
|
483
483
|
}
|
|
484
484
|
function buildArcPath({ x1, x2, y, rx, ry }) {
|
|
485
|
-
return `M ${x1} ${y -
|
|
485
|
+
return `M ${x1} ${y - 20} A ${rx} ${ry} 0 0 1 ${x2} ${y - 20}`;
|
|
486
486
|
}
|
|
487
487
|
function computeLabelStep(containerWidth, range) {
|
|
488
488
|
const maxLabels = Math.floor(containerWidth / 40);
|