@worktile/gantt 13.0.0-next.1 → 13.0.0

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.
@@ -1445,9 +1445,7 @@ class GanttTableComponent {
1445
1445
  }
1446
1446
  showAuxiliaryLine(event) {
1447
1447
  const tableRect = this.elementRef.nativeElement.getBoundingClientRect();
1448
- const targetRect = event.source.element.nativeElement.getBoundingClientRect();
1449
- const distance = { x: targetRect.left - tableRect.left, y: targetRect.top - tableRect.top };
1450
- this.draglineElementRef.nativeElement.style.left = `${distance.x}px`;
1448
+ this.draglineElementRef.nativeElement.style.left = `${event.event.clientX - tableRect.left}px`;
1451
1449
  this.draglineElementRef.nativeElement.style.display = 'block';
1452
1450
  }
1453
1451
  hideAuxiliaryLine() {