@oliasoft-open-source/charts-library 4.7.7-beta-10 → 4.7.7-beta-12
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 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26621,12 +26621,7 @@ const handleAnnotationMouseUp = (isDragging2, activeAnnotation, chart2, canvas2,
|
|
|
26621
26621
|
const annotationId = activeAnnotation == null ? void 0 : activeAnnotation.id;
|
|
26622
26622
|
setAnnotationBorderWidth(chart2, annotationId, BORDER_WIDTH.ZERO);
|
|
26623
26623
|
const { centerX = -1, centerY = -1 } = calculateAnnotationMetricsInValues(activeAnnotation) ?? {};
|
|
26624
|
-
|
|
26625
|
-
activeAnnotation.onDragEnd(
|
|
26626
|
-
{ x: centerX, y: centerY },
|
|
26627
|
-
activeAnnotation
|
|
26628
|
-
);
|
|
26629
|
-
}
|
|
26624
|
+
console.log(centerX, centerY);
|
|
26630
26625
|
setDraggingState(false, null);
|
|
26631
26626
|
chart2 == null ? void 0 : chart2.update();
|
|
26632
26627
|
}
|