Example #1
0
 /// <summary>
 /// Set the movement that makes the list align the selected box at the center
 /// </summary>
 /// <param name="idDiff">The difference between two ids</param>
 public void SetSelectionMovement(int idDiff)
 {
     _movementCtrl.SetSelectionMovement(
         _selectionDistanceFactor * idDiff * unitPos
         + _deltaDistanceToCenter);
     _toRunLateUpdate  = true;
     _isEndingMovement = true;
 }