publ-echo-test 0.0.156 → 0.0.158
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.
@@ -438,23 +438,24 @@ var GroupItem = function (_a) {
|
|
438
438
|
onContextGroup(e);
|
439
439
|
},
|
440
440
|
onMouseMove: function (e) {
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
// }
|
441
|
+
if (isDragging || isResizing) {
|
442
|
+
return;
|
443
|
+
}
|
445
444
|
// 일시적으로 pointer-events 비활성화
|
446
445
|
if (elementRef.current) {
|
447
446
|
elementRef.current.style.pointerEvents = 'none';
|
448
447
|
}
|
449
448
|
// 현재 마우스 위치에서 실제 요소 찾기
|
450
449
|
var underlyingElement = document.elementFromPoint(e.clientX, e.clientY);
|
451
|
-
console.log(underlyingElement);
|
452
450
|
// pointer-events 복구
|
453
451
|
if (elementRef.current) {
|
454
452
|
elementRef.current.style.pointerEvents = 'auto';
|
455
453
|
}
|
454
|
+
document.querySelectorAll('.cb-layout-box.hovered').forEach(function (el) {
|
455
|
+
el.classList.remove('hovered');
|
456
|
+
});
|
456
457
|
if (underlyingElement &&
|
457
|
-
underlyingElement.classList.contains('
|
458
|
+
underlyingElement.classList.contains('cb-layout-box')) {
|
458
459
|
underlyingElement.classList.add('hovered');
|
459
460
|
}
|
460
461
|
},
|