updateDraggingObjects method

void updateDraggingObjects(
  1. List<T> objects
)

Track dragging objects without updating spatial index during drag. Spatial index will be rebuilt when drag ends via endDragging.

Implementation

void updateDraggingObjects(List<T> objects) {
  if (!_isDragging) return;

  // Just update the object references - spatial index rebuild happens at drag end
  for (final object in objects) {
    if (_draggingObjectIds.contains(object.id)) {
      _objects[object.id] = object;
    }
  }
}