hide();
}
public boolean mouseMoved (InputEvent event, float x, float y) {
list.setSelectedIndex(Math.min(selectBox.items.size - 1, (int)((list.getHeight() - y) / list.getItemHeight())));
return true;
<BUG>}
public void exit (InputEvent event, float x, float y, int pointer, Actor toActor) {
list.selection.set(selectBox.getSelected());
}</BUG>
});

hide();
}
public boolean mouseMoved (InputEvent event, float x, float y) {
list.setSelectedIndex(Math.min(selectBox.items.size - 1, (int)((list.getHeight() - y) / list.getItemHeight())));
return true;
}
});
addListener(new InputListener() {
public void exit (InputEvent event, float x, float y, int pointer, Actor toActor) {
if (toActor == null || !isAscendantOf(toActor)) list.selection.set(selectBox.getSelected());
}
});
