MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / updateResolvedInsertionSlot

Method updateResolvedInsertionSlot

src/bases/TaskListView.ts:1138–1147  ·  view source on GitHub ↗
(clientY: number)

Source from the content-addressed store, hash-verified

1136 }
1137
1138 private updateResolvedInsertionSlot(clientY: number): boolean {
1139 const insertionSlot = this.resolveClosestInsertionSlot(clientY);
1140 if (!insertionSlot) return false;
1141
1142 this.currentInsertionGroupKey = insertionSlot.groupKey;
1143 this.currentInsertionSegmentIndex = insertionSlot.segmentIndex;
1144 this.currentInsertionIndex = insertionSlot.insertionIndex;
1145 this.updateDropSlotPreview(insertionSlot);
1146 return true;
1147 }
1148
1149 private flushPendingInsertionSlot(clientYFallback: number): boolean {
1150 if (this.dragOverRafId) {

Callers 2

Calls 2

updateDropSlotPreviewMethod · 0.95

Tested by

no test coverage detected