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
- console.log('mouse move,,,');
442
- // if (isDragging || isResizing) {
443
- // return;
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('react-grid-item')) {
458
+ underlyingElement.classList.contains('cb-layout-box')) {
458
459
  underlyingElement.classList.add('hovered');
459
460
  }
460
461
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.156",
3
+ "version": "0.0.158",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",