jumpToCoordinate method

void jumpToCoordinate(
  1. IntVector2 coordinate
)

Manages scroll in both axis to instantly scroll to a specific coordinate.

See also:

Implementation

void jumpToCoordinate(IntVector2 coordinate) {
  jumpToHeader(coordinate.dx, Axis.horizontal);
  jumpToHeader(coordinate.dy, Axis.vertical);
}