@oliasoft-open-source/charts-library 4.7.7-beta-12 → 4.7.7-beta-13
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 +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26620,8 +26620,13 @@ const handleAnnotationMouseUp = (isDragging2, activeAnnotation, chart2, canvas2,
|
|
|
26620
26620
|
if (activeAnnotation) {
|
|
26621
26621
|
const annotationId = activeAnnotation == null ? void 0 : activeAnnotation.id;
|
|
26622
26622
|
setAnnotationBorderWidth(chart2, annotationId, BORDER_WIDTH.ZERO);
|
|
26623
|
-
|
|
26624
|
-
|
|
26623
|
+
calculateAnnotationMetricsInValues(activeAnnotation) ?? {};
|
|
26624
|
+
if (activeAnnotation == null ? void 0 : activeAnnotation.onDragEnd) {
|
|
26625
|
+
console.log(activeAnnotation == null ? void 0 : activeAnnotation.onDragEnd);
|
|
26626
|
+
}
|
|
26627
|
+
if (!isNil(canvas2) && !isNil(canvas2.style)) {
|
|
26628
|
+
canvas2.style.cursor = CursorStyle.Pointer;
|
|
26629
|
+
}
|
|
26625
26630
|
setDraggingState(false, null);
|
|
26626
26631
|
chart2 == null ? void 0 : chart2.update();
|
|
26627
26632
|
}
|