jumpToCoordinate method
void
jumpToCoordinate(
- IntVector2 coordinate
Manages scroll in both axis to instantly scroll to a specific
coordinate
.
See also:
- jumpToHeader called by this method for both axis.
- animateToCoordinate
Implementation
void jumpToCoordinate(IntVector2 coordinate) {
jumpToHeader(coordinate.dx, Axis.horizontal);
jumpToHeader(coordinate.dy, Axis.vertical);
}