public void choose (T item) {
if (item == null) throw new IllegalArgumentException("item cannot be null.");
if (isDisabled) return;
if (selected.size > 0 && rangeSelect && multiple
&& (Gdx.input.isKeyPressed(Keys.SHIFT_LEFT) || Gdx.input.isKeyPressed(Keys.SHIFT_RIGHT))) {
<BUG>int low = items.indexOf(getLastSelected(), false);

int high = items.indexOf(item, false);
</BUG>
if (low > high) {

public void choose (T item) {
if (item == null) throw new IllegalArgumentException("item cannot be null.");
if (isDisabled) return;
if (selected.size > 0 && rangeSelect && multiple
&& (Gdx.input.isKeyPressed(Keys.SHIFT_LEFT) || Gdx.input.isKeyPressed(Keys.SHIFT_RIGHT))) {
int low = array.indexOf(getLastSelected(), false);
int high = array.indexOf(item, false);
if (low > high) {
