+
+ // Hide markers when out of bounds
+ markers.y.hidden = yPos < editBounds.top || yPos > editBounds.bottom;
+ markers.x.hidden = tableRect.top > editBounds.bottom || tableRect.bottom < editBounds.top;
+ }
+
+ protected updateCurrentMarkerTargetPosition(): void {
+ if (!this.targetCell) {
+ return;
+ }
+
+ const rect = this.targetCell.getBoundingClientRect();
+ const xMarkerPos = this.xMarkerAtStart ? rect.left : rect.right;
+ const yMarkerPos = this.yMarkerAtStart ? rect.top : rect.bottom;
+ this.updateMarkersTo(this.targetCell, xMarkerPos, yMarkerPos);