publ-echo-test 0.0.9 → 0.0.10
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.
@@ -46,8 +46,7 @@ var GridItem = function (_a) {
|
|
46
46
|
if (!isSelected) {
|
47
47
|
return;
|
48
48
|
}
|
49
|
-
var targetNode = (_a = elementRef.current) === null || _a === void 0 ? void 0 : _a.children[0].children[0];
|
50
|
-
console.log(targetNode);
|
49
|
+
var targetNode = (_a = elementRef.current) === null || _a === void 0 ? void 0 : _a.children[0].children[0].children[0];
|
51
50
|
if (!targetNode || isDragging || isResizing) {
|
52
51
|
return;
|
53
52
|
}
|
@@ -68,6 +67,7 @@ var GridItem = function (_a) {
|
|
68
67
|
}, x, y, 'e', props.w, props.h), w_1 = _a.w, h_1 = _a.h;
|
69
68
|
var _b = getResizableXYPosition('e', w_1, h_1, prevW, prevH), newX = _b.newX, newY = _b.newY;
|
70
69
|
handler && handler(i, w_1, h_1, {}, newX, newY);
|
70
|
+
props.onResizeStop && props.onResizeStop(i, w_1, h_1, {}, newX, newY);
|
71
71
|
}
|
72
72
|
};
|
73
73
|
// MutationObserver 인스턴스 생성
|